mirror of git://gcc.gnu.org/git/gcc.git
ira.c (update_equiv_regs): Prohibit move insns if pressure-sensitive scheduling was done.
2010-12-06 Vladimir Makarov <vmakarov@redhat.com> * ira.c (update_equiv_regs): Prohibit move insns if pressure-sensitive scheduling was done. From-SVN: r167519
This commit is contained in:
parent
69a9720167
commit
0cad482785
|
|
@ -1,3 +1,8 @@
|
||||||
|
2010-12-06 Vladimir Makarov <vmakarov@redhat.com>
|
||||||
|
|
||||||
|
* ira.c (update_equiv_regs): Prohibit move insns if
|
||||||
|
pressure-sensitive scheduling was done.
|
||||||
|
|
||||||
2010-12-06 Nicola Pero <nicola.pero@meta-innovation.com>
|
2010-12-06 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||||
|
|
||||||
* c-parser.c (c_parser_for_statement): Use c_fully_fold() instead
|
* c-parser.c (c_parser_for_statement): Use c_fully_fold() instead
|
||||||
|
|
|
||||||
|
|
@ -2585,7 +2585,13 @@ update_equiv_regs (void)
|
||||||
rtx equiv_insn;
|
rtx equiv_insn;
|
||||||
|
|
||||||
if (! reg_equiv[regno].replace
|
if (! reg_equiv[regno].replace
|
||||||
|| reg_equiv[regno].loop_depth < loop_depth)
|
|| reg_equiv[regno].loop_depth < loop_depth
|
||||||
|
/* There is no sense to move insns if we did
|
||||||
|
register pressure-sensitive scheduling was
|
||||||
|
done because it will not improve allocation
|
||||||
|
but worsen insn schedule with a big
|
||||||
|
probability. */
|
||||||
|
|| (flag_sched_pressure && flag_schedule_insns))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* reg_equiv[REGNO].replace gets set only when
|
/* reg_equiv[REGNO].replace gets set only when
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue