summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitb52f717411f0b312ed395fed108a5310bf591ffb (patch)
treee4c7379dd21293eb976aad6b4bac8a90285e09dc /llvm/test/Transforms/LoopVectorize/non-const-n.ll
parent85f58c415230bc01c7eb79db3d45b3a189f02f04 (diff)
downloadbcm5719-llvm-b52f717411f0b312ed395fed108a5310bf591ffb.tar.gz
bcm5719-llvm-b52f717411f0b312ed395fed108a5310bf591ffb.zip
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]; } llvm-svn: 166165
Diffstat (limited to 'llvm/test/Transforms/LoopVectorize/non-const-n.ll')
-rw-r--r--llvm/test/Transforms/LoopVectorize/non-const-n.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/LoopVectorize/non-const-n.ll b/llvm/test/Transforms/LoopVectorize/non-const-n.ll
index 76835b76603..04c5c84a4f4 100644
--- a/llvm/test/Transforms/LoopVectorize/non-const-n.ll
+++ b/llvm/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>
OpenPOWER on IntegriCloud