summaryrefslogtreecommitdiffstats
path: root/llvm/test
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
commitc3c07e62e8fdfaaa3749ee34a4999225c9fe3be2 (patch)
tree28fd884cec7e3253d2cc260c4cd4e0b963235152 /llvm/test
parentef83919b4c2a000d6e28fb4a4c5ade073a3838cc (diff)
downloadbcm5719-llvm-c3c07e62e8fdfaaa3749ee34a4999225c9fe3be2.tar.gz
bcm5719-llvm-c3c07e62e8fdfaaa3749ee34a4999225c9fe3be2.zip
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++). llvm-svn: 168231
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Transforms/LoopVectorize/gcc-examples.ll3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/test/Transforms/LoopVectorize/gcc-examples.ll b/llvm/test/Transforms/LoopVectorize/gcc-examples.ll
index 2243a77d3bc..c34fd72a467 100644
--- a/llvm/test/Transforms/LoopVectorize/gcc-examples.ll
+++ b/llvm/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
OpenPOWER on IntegriCloud