diff options
author | Matthew Simpson <mssimpso@codeaurora.org> | 2016-12-15 20:11:05 +0000 |
---|---|---|
committer | Matthew Simpson <mssimpso@codeaurora.org> | 2016-12-15 20:11:05 +0000 |
commit | 6a98bcfe336ac4a0ae19981d6d4d683e5a0e6433 (patch) | |
tree | cf37a862c50b6993bc8bb8fec35c3ce82afd8cb4 /llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | |
parent | f20c57eca93f58e3d1cb4ea1be0448b46fb9b192 (diff) | |
download | bcm5719-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.cpp | 2 |
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( |