diff options
Diffstat (limited to 'gcc/tree-ssa-loop-unswitch.cc')
-rw-r--r-- | gcc/tree-ssa-loop-unswitch.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/tree-ssa-loop-unswitch.cc b/gcc/tree-ssa-loop-unswitch.cc index 3a827f2..7d6781d 100644 --- a/gcc/tree-ssa-loop-unswitch.cc +++ b/gcc/tree-ssa-loop-unswitch.cc @@ -980,7 +980,7 @@ tree_unswitch_single_loop (class loop *loop, dump_user_location_t loc, free_original_copy_tables (); /* Update the SSA form after unswitching. */ - update_ssa (TODO_update_ssa); + update_ssa (TODO_update_ssa_no_phi); /* Invoke itself on modified loops. */ bitmap handled_copy = BITMAP_ALLOC (NULL); @@ -1068,8 +1068,6 @@ tree_unswitch_outer_loop (class loop *loop) auto_vec<gimple *> dbg_to_reset; while ((guard = find_loop_guard (loop, dbg_to_reset))) { - if (! changed) - rewrite_virtuals_into_loop_closed_ssa (loop); hoist_guard (loop, guard); for (gimple *debug_stmt : dbg_to_reset) { |