summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2013-03-20 09:01:52 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2013-03-20 09:01:52 +0000
commit3767bd95180b604104c0e7942950db2c6dc73059 (patch)
tree14f20f59c11ac23190d68e9d66edeac14114c498
parentac721588bf707c83d6e4af0a4d1135e7077d0139 (diff)
downloadgcc-3767bd95180b604104c0e7942950db2c6dc73059.tar.gz
2013-03-20 Richard Biener <rguenther@suse.de>
* tree-vect-loop-manip.c (slpeel_can_duplicate_loop_p): Do not check whether an SSA update is needed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196810 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-vect-loop-manip.c3
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 <rguenther@suse.de>
+
+ * tree-vect-loop-manip.c (slpeel_can_duplicate_loop_p): Do not
+ check whether an SSA update is needed.
+
2013-03-20 Richard Sandiford <rdsandiford@googlemail.com>
* 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. */