summaryrefslogtreecommitdiff
path: root/test/Transforms
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-11-17 00:27:03 +0000
committerNadav Rotem <nrotem@apple.com>2012-11-17 00:27:03 +0000
commit9a6823516ffd6ed1787d923459c80a6fa4833914 (patch)
treeb60b6f290ab8be559ae129acde20452e787c7039 /test/Transforms
parent94e472832f30320d273f5630044c6bbd626e9949 (diff)
downloadllvm-9a6823516ffd6ed1787d923459c80a6fa4833914.tar.gz
llvm-9a6823516ffd6ed1787d923459c80a6fa4833914.tar.bz2
llvm-9a6823516ffd6ed1787d923459c80a6fa4833914.tar.xz
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.ll3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Transforms/LoopVectorize/gcc-examples.ll b/test/Transforms/LoopVectorize/gcc-examples.ll
index 2243a77d3b..c34fd72a46 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