re PR tree-optimization/54717 (Runtime regression: polyhedron test "rnflow" degraded)

PR tree-optimization/54717
	* tree-ssa-pre.c (do_partial_partial_insertion): Consider also edges
	with ANTIC_IN.

From-SVN: r193553
This commit is contained in:
Jan Hubicka 2012-11-16 11:37:25 +01:00 committed by Jan Hubicka
parent f3754998dd
commit 0c46ead219
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2012-11-16 Jan Hubicka <jh@suse.cz>
PR tree-optimization/54717
* tree-ssa-pre.c (do_partial_partial_insertion): Consider also edges
with ANTIC_IN.
2012-11-16 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386-protos.h (ix86_emit_mode_set): Add third argument.

View file

@ -3525,7 +3525,8 @@ do_partial_partial_insertion (basic_block block, basic_block dom)
may cause regressions on the speed path. */
FOR_EACH_EDGE (succ, ei, block->succs)
{
if (bitmap_set_contains_value (PA_IN (succ->dest), val))
if (bitmap_set_contains_value (PA_IN (succ->dest), val)
|| bitmap_set_contains_value (ANTIC_IN (succ->dest), val))
{
if (optimize_edge_for_speed_p (succ))
do_insertion = true;
@ -3539,7 +3540,7 @@ do_partial_partial_insertion (basic_block block, basic_block dom)
fprintf (dump_file, "Skipping partial partial redundancy "
"for expression ");
print_pre_expr (dump_file, expr);
fprintf (dump_file, " (%04d), not partially anticipated "
fprintf (dump_file, " (%04d), not (partially) anticipated "
"on any to be optimized for speed edges\n", val);
}
}