summaryrefslogtreecommitdiff
path: root/test/Transforms/LoopVectorize/gcc-examples.ll
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2013-01-05 01:15:47 +0000
committerNadav Rotem <nrotem@apple.com>2013-01-05 01:15:47 +0000
commitd5b92c389133c5d587e4094af553ec345ed40045 (patch)
tree9e365b772b10da4ddd31d3043157cf2a0332e9db /test/Transforms/LoopVectorize/gcc-examples.ll
parentf7737b5baad59f5352d21ef77bb2e2a767e9ed0f (diff)
downloadllvm-d5b92c389133c5d587e4094af553ec345ed40045.tar.gz
llvm-d5b92c389133c5d587e4094af553ec345ed40045.tar.bz2
llvm-d5b92c389133c5d587e4094af553ec345ed40045.tar.xz
iLoopVectorize: Non commutative operators can be used as reduction variables as long as the reduction chain is used in the LHS.
PR14803. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171583 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/LoopVectorize/gcc-examples.ll')
-rw-r--r--test/Transforms/LoopVectorize/gcc-examples.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/LoopVectorize/gcc-examples.ll b/test/Transforms/LoopVectorize/gcc-examples.ll
index de3f59f41a..b8b125f3ee 100644
--- a/test/Transforms/LoopVectorize/gcc-examples.ll
+++ b/test/Transforms/LoopVectorize/gcc-examples.ll
@@ -241,7 +241,7 @@ define void @example8(i32 %x) nounwind uwtable ssp {
}
;CHECK: @example9
-;CHECK-NOT: phi <4 x i32>
+;CHECK: phi <4 x i32>
;CHECK: ret i32
define i32 @example9() nounwind uwtable readonly ssp {
br label %1