diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-12-26 19:08:17 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-12-26 19:08:17 +0000 |
commit | 13eb1e7817be11ea84be6571dce827a77bc9640b (patch) | |
tree | ca209e4b4e90751bc936b3a5dc4bc9be739b5390 /test | |
parent | f1a26cf9df900101b9cbea42b67f7466edc7deed (diff) | |
download | external_llvm-13eb1e7817be11ea84be6571dce827a77bc9640b.zip external_llvm-13eb1e7817be11ea84be6571dce827a77bc9640b.tar.gz external_llvm-13eb1e7817be11ea84be6571dce827a77bc9640b.tar.bz2 |
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')
-rw-r--r-- | test/Transforms/LoopVectorize/gcc-examples.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Transforms/LoopVectorize/gcc-examples.ll b/test/Transforms/LoopVectorize/gcc-examples.ll index 4fabc8e..b0f5a80 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 |