Commit 040d39ee by Richard Guenther Committed by Alexandre Oliva

re PR debug/46931 (Subversion id 167184 breaks building perlbench on power7 with debug)

PR debug/46931
* tree-vect-loop-manip.c (slpeel_tree_peel_loop_to_edge): Update
SSA before removing dead stmts.

From-SVN: r168299
parent 11c4a1c0
2010-12-28 Richard Guenther <rguenther@suse.de>
PR debug/46931
* tree-vect-loop-manip.c (slpeel_tree_peel_loop_to_edge): Update
SSA before removing dead stmts.
2010-12-28 H.J. Lu <hongjiu.lu@intel.com> 2010-12-28 H.J. Lu <hongjiu.lu@intel.com>
Uros Bizjak <ubizjak@gmail.com> Uros Bizjak <ubizjak@gmail.com>
...@@ -1442,6 +1442,9 @@ slpeel_tree_peel_loop_to_edge (struct loop *loop, ...@@ -1442,6 +1442,9 @@ slpeel_tree_peel_loop_to_edge (struct loop *loop,
if (update_first_loop_count) if (update_first_loop_count)
slpeel_make_loop_iterate_ntimes (first_loop, first_niters); slpeel_make_loop_iterate_ntimes (first_loop, first_niters);
BITMAP_FREE (definitions);
delete_update_ssa ();
/* Remove all pattern statements from the loop copy. They will confuse /* Remove all pattern statements from the loop copy. They will confuse
the expander if DCE is disabled. the expander if DCE is disabled.
??? The pattern recognizer should be split into an analysis and ??? The pattern recognizer should be split into an analysis and
...@@ -1451,9 +1454,6 @@ slpeel_tree_peel_loop_to_edge (struct loop *loop, ...@@ -1451,9 +1454,6 @@ slpeel_tree_peel_loop_to_edge (struct loop *loop,
adjust_vec_debug_stmts (); adjust_vec_debug_stmts ();
BITMAP_FREE (definitions);
delete_update_ssa ();
return new_loop; return new_loop;
} }
......
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