diff options
author | Paul Redmond <paul.redmond@intel.com> | 2013-01-04 22:10:16 +0000 |
---|---|---|
committer | Paul Redmond <paul.redmond@intel.com> | 2013-01-04 22:10:16 +0000 |
commit | 5767d919569f7b4be51c0a13bff24f722625d9f3 (patch) | |
tree | fdeba97aeb1434f7c6b6adcc693d69a129d2f627 /test/Transforms/LoopVectorize/gcc-examples.ll | |
parent | 8cab6edf4fa46d9bd06ff3ce0e1dd4557be58b65 (diff) |
Do not vectorize loops with subtraction reductions
Since subtraction does not commute the loop vectorizer incorrectly vectorizes
reductions such as x = A[i] - x.
Disabling for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171537 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/LoopVectorize/gcc-examples.ll')
-rw-r--r-- | test/Transforms/LoopVectorize/gcc-examples.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/LoopVectorize/gcc-examples.ll b/test/Transforms/LoopVectorize/gcc-examples.ll index 652c2a0d02..e52a3f164a 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: phi <4 x i32> +;CHECK-NOT: phi <4 x i32> ;CHECK: ret i32 define i32 @example9() nounwind uwtable readonly ssp { br label %1 |