summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopVectorize/conditional-assignment.ll
diff options
context:
space:
mode:
authorMatthew Simpson <mssimpso@codeaurora.org>2016-12-16 19:12:02 +0000
committerMatthew Simpson <mssimpso@codeaurora.org>2016-12-16 19:12:02 +0000
commita4964f291ac012d9fa52bb3511aa5fab2820b423 (patch)
treec1ae0728c6ccf0fc0d22a6ae9d2162dad233199c /llvm/test/Transforms/LoopVectorize/conditional-assignment.ll
parentea9f8ce03cfc6fd5cdc1fb242843378561ad3ed7 (diff)
downloadbcm5719-llvm-a4964f291ac012d9fa52bb3511aa5fab2820b423.tar.gz
bcm5719-llvm-a4964f291ac012d9fa52bb3511aa5fab2820b423.zip
Reapply "[LV] Enable vectorization of loops with conditional stores by default"
This patch reapplies r289863. The original patch was reverted because it exposed a bug causing the loop vectorizer to crash in the Python runtime on PPC. The underlying issue was fixed with r289958. llvm-svn: 289975
Diffstat (limited to 'llvm/test/Transforms/LoopVectorize/conditional-assignment.ll')
-rw-r--r--llvm/test/Transforms/LoopVectorize/conditional-assignment.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/LoopVectorize/conditional-assignment.ll b/llvm/test/Transforms/LoopVectorize/conditional-assignment.ll
index 2222a26f429..25d6111d65a 100644
--- a/llvm/test/Transforms/LoopVectorize/conditional-assignment.ll
+++ b/llvm/test/Transforms/LoopVectorize/conditional-assignment.ll
@@ -1,5 +1,5 @@
-; RUN: opt < %s -loop-vectorize -S -pass-remarks-missed='loop-vectorize' -pass-remarks-analysis='loop-vectorize' 2>&1 | FileCheck %s
-; RUN: opt < %s -passes=loop-vectorize -S -pass-remarks-missed='loop-vectorize' -pass-remarks-analysis='loop-vectorize' 2>&1 | FileCheck %s
+; RUN: opt < %s -enable-cond-stores-vec=false -loop-vectorize -S -pass-remarks-missed='loop-vectorize' -pass-remarks-analysis='loop-vectorize' 2>&1 | FileCheck %s
+; RUN: opt < %s -enable-cond-stores-vec=false -passes=loop-vectorize -S -pass-remarks-missed='loop-vectorize' -pass-remarks-analysis='loop-vectorize' 2>&1 | FileCheck %s
; CHECK: remark: source.c:2:8: loop not vectorized: store that is conditionally executed prevents vectorization
OpenPOWER on IntegriCloud