summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
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/lib/Transforms/Vectorize/LoopVectorize.cpp
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/lib/Transforms/Vectorize/LoopVectorize.cpp')
-rw-r--r--llvm/lib/Transforms/Vectorize/LoopVectorize.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index f52b27ae5af..afcb50b2795 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -191,7 +191,7 @@ static cl::opt<bool> EnableIndVarRegisterHeur(
cl::desc("Count the induction variable only once when interleaving"));
static cl::opt<bool> EnableCondStoresVectorization(
- "enable-cond-stores-vec", cl::init(false), cl::Hidden,
+ "enable-cond-stores-vec", cl::init(true), cl::Hidden,
cl::desc("Enable if predication of stores during vectorization."));
static cl::opt<unsigned> MaxNestedScalarReductionIC(
OpenPOWER on IntegriCloud