Commit 0c46ead2 by Jan Hubicka Committed by Jan Hubicka

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
parent f3754998
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> 2012-11-16 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386-protos.h (ix86_emit_mode_set): Add third argument. * config/i386/i386-protos.h (ix86_emit_mode_set): Add third argument.
...@@ -3525,7 +3525,8 @@ do_partial_partial_insertion (basic_block block, basic_block dom) ...@@ -3525,7 +3525,8 @@ do_partial_partial_insertion (basic_block block, basic_block dom)
may cause regressions on the speed path. */ may cause regressions on the speed path. */
FOR_EACH_EDGE (succ, ei, block->succs) 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)) if (optimize_edge_for_speed_p (succ))
do_insertion = true; do_insertion = true;
...@@ -3539,7 +3540,7 @@ do_partial_partial_insertion (basic_block block, basic_block dom) ...@@ -3539,7 +3540,7 @@ do_partial_partial_insertion (basic_block block, basic_block dom)
fprintf (dump_file, "Skipping partial partial redundancy " fprintf (dump_file, "Skipping partial partial redundancy "
"for expression "); "for expression ");
print_pre_expr (dump_file, expr); 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); "on any to be optimized for speed edges\n", val);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment