From ebd65954f02ef75f7efd625c4fa8309e04a7a4de Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 20 Mar 2013 09:01:52 +0000 Subject: [PATCH] tree-vect-loop-manip.c (slpeel_can_duplicate_loop_p): Do not check whether an SSA update is needed. 2013-03-20 Richard Biener * tree-vect-loop-manip.c (slpeel_can_duplicate_loop_p): Do not check whether an SSA update is needed. From-SVN: r196810 --- gcc/ChangeLog | 5 +++++ gcc/tree-vect-loop-manip.c | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7158eea6185..303e4ad7ef4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-03-20 Richard Biener + + * tree-vect-loop-manip.c (slpeel_can_duplicate_loop_p): Do not + check whether an SSA update is needed. + 2013-03-20 Richard Sandiford * config/mips/constraints.md (T): Rename to... diff --git a/gcc/tree-vect-loop-manip.c b/gcc/tree-vect-loop-manip.c index ff7d53f2591..fabf52d2648 100644 --- a/gcc/tree-vect-loop-manip.c +++ b/gcc/tree-vect-loop-manip.c @@ -848,9 +848,6 @@ slpeel_can_duplicate_loop_p (const struct loop *loop, const_edge e) gimple orig_cond = get_loop_exit_condition (loop); gimple_stmt_iterator loop_exit_gsi = gsi_last_bb (exit_e->src); - if (need_ssa_update_p (cfun)) - return false; - if (loop->inner /* All loops have an outer scope; the only case loop->outer is NULL is for the function itself. */