summaryrefslogtreecommitdiff
path: root/test/Transforms/LoopVectorize/non-const-n.ll
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-10-18 05:29:12 +0000
committerNadav Rotem <nrotem@apple.com>2012-10-18 05:29:12 +0000
commit1953ace81d3121808967a7fa47ad6d631499933d (patch)
tree4b60c184edfb34fb457154aff1d24702a916b933 /test/Transforms/LoopVectorize/non-const-n.ll
parent6ebddd2d6558211a5e4a76b5906633b431e12006 (diff)
downloadllvm-1953ace81d3121808967a7fa47ad6d631499933d.tar.gz
llvm-1953ace81d3121808967a7fa47ad6d631499933d.tar.bz2
llvm-1953ace81d3121808967a7fa47ad6d631499933d.tar.xz
Vectorizer: Add support for loops with an unknown count. For example:
for (i=0; i<n; i++){ a[i] = b[i+1] + c[i+3]; } git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166165 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/LoopVectorize/non-const-n.ll')
-rw-r--r--test/Transforms/LoopVectorize/non-const-n.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/LoopVectorize/non-const-n.ll b/test/Transforms/LoopVectorize/non-const-n.ll
index 76835b7660..04c5c84a4f 100644
--- a/test/Transforms/LoopVectorize/non-const-n.ll
+++ b/test/Transforms/LoopVectorize/non-const-n.ll
@@ -9,7 +9,7 @@ target triple = "x86_64-apple-macosx10.8.0"
;CHECK: @example1
;CHECK: shl i32
-;CHECK: sext i32
+;CHECK: zext i32
;CHECK: load <4 x i32>
;CHECK: add <4 x i32>
;CHECK: store <4 x i32>