aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/LoopVectorize/induction_plus.ll
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-12-11 18:58:10 +0000
committerNadav Rotem <nrotem@apple.com>2012-12-11 18:58:10 +0000
commit5e9efa10fc7eea582bb1ad216364fb2c467e4477 (patch)
tree33a68bbe3bbfcb608a9f31cd49d104ed5929e5af /test/Transforms/LoopVectorize/induction_plus.ll
parent37a9830d20018dee5557a3a72f750d965ba383c5 (diff)
Loop Vectorize: optimize the vectorization of trunc(induction_var). The truncation is now done on scalars.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169904 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/LoopVectorize/induction_plus.ll')
-rw-r--r--test/Transforms/LoopVectorize/induction_plus.ll3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Transforms/LoopVectorize/induction_plus.ll b/test/Transforms/LoopVectorize/induction_plus.ll
index b31bceb50d..a25845f1c1 100644
--- a/test/Transforms/LoopVectorize/induction_plus.ll
+++ b/test/Transforms/LoopVectorize/induction_plus.ll
@@ -6,8 +6,7 @@ target triple = "x86_64-apple-macosx10.8.0"
@array = common global [1024 x i32] zeroinitializer, align 16
;CHECK: @array_at_plus_one
-;CHECK: add <4 x i64>
-;CHECK: trunc <4 x i64>
+;CHECK: trunc i64
;CHECK: add i64 %index, 12
;CHECK: ret i32
define i32 @array_at_plus_one(i32 %n) nounwind uwtable ssp {