summaryrefslogtreecommitdiff
path: root/test/Transforms/LoopVectorize/gcc-examples.ll
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-12-26 19:08:17 +0000
committerNadav Rotem <nrotem@apple.com>2012-12-26 19:08:17 +0000
commit13eb1e7817be11ea84be6571dce827a77bc9640b (patch)
treeca209e4b4e90751bc936b3a5dc4bc9be739b5390 /test/Transforms/LoopVectorize/gcc-examples.ll
parentf1a26cf9df900101b9cbea42b67f7466edc7deed (diff)
downloadllvm-13eb1e7817be11ea84be6571dce827a77bc9640b.tar.gz
llvm-13eb1e7817be11ea84be6571dce827a77bc9640b.tar.bz2
llvm-13eb1e7817be11ea84be6571dce827a77bc9640b.tar.xz
LoopVectorizer: Optimize the vectorization of consecutive memory access when the iteration step is -1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171114 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/LoopVectorize/gcc-examples.ll')
-rw-r--r--test/Transforms/LoopVectorize/gcc-examples.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Transforms/LoopVectorize/gcc-examples.ll b/test/Transforms/LoopVectorize/gcc-examples.ll
index 4fabc8e2d3..b0f5a80d1e 100644
--- a/test/Transforms/LoopVectorize/gcc-examples.ll
+++ b/test/Transforms/LoopVectorize/gcc-examples.ll
@@ -537,7 +537,8 @@ define void @example14(i32** nocapture %in, i32** nocapture %coeff, i32* nocaptu
}
;CHECK: @example21
-;CHECK: <4 x i32>
+;CHECK: load <4 x i32>
+;CHECK: shufflevector {{.*}} <i32 3, i32 2, i32 1, i32 0>
;CHECK: ret i32
define i32 @example21(i32* nocapture %b, i32 %n) nounwind uwtable readonly ssp {
%1 = icmp sgt i32 %n, 0