[PR47036] sel-sched: don't attempt to move up unconditional jumps
Vladimir Makarov
vmakarov@redhat.com
Thu Dec 23 20:01:00 GMT 2010
On 12/22/2010 12:57 PM, Alexander Monakov wrote:
> Hi,
>
> This patch drops bits of support for moving up unconditional jumps. The rest
> of the scheduler does not handle it anyway, and most of the time dependencies
> would prohibit such motion (in the testcase it's possible because other insns
> are nops).
>
> I've verified that the patch does not affect code generation on several cc1 .i
> files at -O3 (targeting ia64). Bootstrapped on x86-64-linux, ia64-linux
> (testsuite running). OK for trunk?
>
Ok. Thanks for fixing the bug.
> 2010-12-22 Alexander Monakov<amonakov@ispras.ru>
>
> PR rtl-optimization/47036
> * sel-sched-ir.c (fallthru_bb_of_jump): Remove special support for
> unconditional jumps.
> * sel-sched.c (moveup_expr): Ditto.
>
> testsuite:
> * g++.dg/opt/pr47036.C: New.
More information about the Gcc-patches
mailing list