summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorAlina Sbirlea <asbirlea@google.com>2019-04-25 04:49:48 +0000
committerAlina Sbirlea <asbirlea@google.com>2019-04-25 04:49:48 +0000
commit733c8c40c81de5fcc8fab264ccb6bce6d39138c5 (patch)
tree26f69098390f3d89a7677f8946770b48582a7edd /llvm/lib/Transforms
parent3458ff361a1dc468cb42df6eaa99f5b09cc18443 (diff)
downloadbcm5719-llvm-733c8c40c81de5fcc8fab264ccb6bce6d39138c5.tar.gz
bcm5719-llvm-733c8c40c81de5fcc8fab264ccb6bce6d39138c5.zip
Enable LoopVectorization by default.
Summary: When refactoring vectorization flags, vectorization was disabled by default in the new pass manager. This patch re-enables is for both managers, and changes the assumptions opt makes, based on the new defaults. Comments in opt.cpp should clarify the intended use of all flags to enable/disable vectorization. Reviewers: chandlerc, jgorbe Subscribers: jlebar, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D61091 llvm-svn: 359167
Diffstat (limited to 'llvm/lib/Transforms')
-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 c82c92f7d2a..4f043448e4e 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -281,7 +281,7 @@ cl::opt<bool> llvm::EnableLoopInterleaving(
"interleave-loops", cl::init(true), cl::Hidden,
cl::desc("Enable loop interleaving in Loop vectorization passes"));
cl::opt<bool> llvm::EnableLoopVectorization(
- "vectorize-loops", cl::init(false), cl::Hidden,
+ "vectorize-loops", cl::init(true), cl::Hidden,
cl::desc("Run the Loop vectorization passes"));
/// A helper function for converting Scalar types to vector types.
OpenPOWER on IntegriCloud