summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
diff options
context:
space:
mode:
authorMatthew Simpson <mssimpso@codeaurora.org>2016-12-15 20:11:05 +0000
committerMatthew Simpson <mssimpso@codeaurora.org>2016-12-15 20:11:05 +0000
commit6a98bcfe336ac4a0ae19981d6d4d683e5a0e6433 (patch)
treecf37a862c50b6993bc8bb8fec35c3ce82afd8cb4 /llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
parentf20c57eca93f58e3d1cb4ea1be0448b46fb9b192 (diff)
downloadbcm5719-llvm-6a98bcfe336ac4a0ae19981d6d4d683e5a0e6433.tar.gz
bcm5719-llvm-6a98bcfe336ac4a0ae19981d6d4d683e5a0e6433.zip
[LV] Enable vectorization of loops with conditional stores by default
This patch sets the default value of the "-enable-cond-stores-vec" command line option to "true". Differential Revision: https://reviews.llvm.org/D27814 llvm-svn: 289863
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 e434ca2e9db..c1b6034cce4 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