aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Hayward <alan.hayward@arm.com>2016-06-03 12:12:41 +0000
committerAlan Hayward <alahay01@gcc.gnu.org>2016-06-03 12:12:41 +0000
commite7fc19fcb5b0413324d0ccae7a045f3ef3cc04a6 (patch)
tree5d2372e37f3ce4317a322cfb23e8151facccb8ac
parentb82617e340b663701f39e3ab40c44b0b358cf1e3 (diff)
downloadgcc-e7fc19fcb5b0413324d0ccae7a045f3ef3cc04a6.zip
gcc-e7fc19fcb5b0413324d0ccae7a045f3ef3cc04a6.tar.gz
gcc-e7fc19fcb5b0413324d0ccae7a045f3ef3cc04a6.tar.bz2
2016-06-03 Alan Hayward <alan.hayward@arm.com>
gcc/ * tree-vect-stmts.c (vectorizable_call) Remove GOMP_SIMD_LANE code. From-SVN: r237061
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/tree-vect-stmts.c23
2 files changed, 4 insertions, 23 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 635634b..84e81cf 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2016-06-03 Alan Hayward <alan.hayward@arm.com>
+
+ * tree-vect-stmts.c (vectorizable_call) Remove GOMP_SIMD_LANE code.
+
2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/thumb1.md (*thumb1_mulsi3): Fix typos in comment.
diff --git a/gcc/tree-vect-stmts.c b/gcc/tree-vect-stmts.c
index d2e16d0..a4b5c57 100644
--- a/gcc/tree-vect-stmts.c
+++ b/gcc/tree-vect-stmts.c
@@ -2622,29 +2622,6 @@ vectorizable_call (gimple *gs, gimple_stmt_iterator *gsi, gimple **vec_stmt,
else
lhs = gimple_call_lhs (stmt);
- if (gimple_call_internal_p (stmt)
- && gimple_call_internal_fn (stmt) == IFN_GOMP_SIMD_LANE)
- {
- /* Replace uses of the lhs of GOMP_SIMD_LANE call outside the loop
- with vf - 1 rather than 0, that is the last iteration of the
- vectorized loop. */
- imm_use_iterator iter;
- use_operand_p use_p;
- gimple *use_stmt;
- FOR_EACH_IMM_USE_STMT (use_stmt, iter, lhs)
- {
- basic_block use_bb = gimple_bb (use_stmt);
- if (use_bb
- && !flow_bb_inside_loop_p (LOOP_VINFO_LOOP (loop_vinfo), use_bb))
- {
- FOR_EACH_IMM_USE_ON_STMT (use_p, iter)
- SET_USE (use_p, build_int_cst (TREE_TYPE (lhs),
- ncopies * nunits_out - 1));
- update_stmt (use_stmt);
- }
- }
- }
-
new_stmt = gimple_build_assign (lhs, build_zero_cst (type));
set_vinfo_for_stmt (new_stmt, stmt_info);
set_vinfo_for_stmt (stmt, NULL);