diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-11-17 00:27:03 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-11-17 00:27:03 +0000 |
commit | 9a6823516ffd6ed1787d923459c80a6fa4833914 (patch) | |
tree | b60b6f290ab8be559ae129acde20452e787c7039 /test/Transforms | |
parent | 94e472832f30320d273f5630044c6bbd626e9949 (diff) | |
download | external_llvm-9a6823516ffd6ed1787d923459c80a6fa4833914.zip external_llvm-9a6823516ffd6ed1787d923459c80a6fa4833914.tar.gz external_llvm-9a6823516ffd6ed1787d923459c80a6fa4833914.tar.bz2 |
LoopVectorizer: Add initial support for pointer induction variables (for example: *dst++ = *src++).
At the moment we still require to have an integer induction variable (for example: i++).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168231 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
-rw-r--r-- | test/Transforms/LoopVectorize/gcc-examples.ll | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Transforms/LoopVectorize/gcc-examples.ll b/test/Transforms/LoopVectorize/gcc-examples.ll index 2243a77..c34fd72 100644 --- a/test/Transforms/LoopVectorize/gcc-examples.ll +++ b/test/Transforms/LoopVectorize/gcc-examples.ll @@ -565,9 +565,8 @@ define i32 @example21(i32* nocapture %b, i32 %n) nounwind uwtable readonly ssp { ret i32 %a.0.lcssa } -; Can't vectorize because there are multiple PHIs. ;CHECK: @example23 -;CHECK-NOT: <4 x i32> +;CHECK: <4 x i32> ;CHECK: ret void define void @example23(i16* nocapture %src, i32* nocapture %dst) nounwind uwtable ssp { br label %1 |