]> granicus.if.org Git - llvm/commit
Enable LoopVectorization by default.
authorAlina Sbirlea <asbirlea@google.com>
Thu, 25 Apr 2019 04:49:48 +0000 (04:49 +0000)
committerAlina Sbirlea <asbirlea@google.com>
Thu, 25 Apr 2019 04:49:48 +0000 (04:49 +0000)
commit6ac87016ff55e80c4589d192a6e255eef17555fd
tree7a3e5c6fa0aa3df3f4e1988f75c59054d5cd39aa
parentf73a9f2ea6413bdb1af7ac65f0712d13f8b3db84
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359167 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/LoopVectorize.cpp
test/CodeGen/Hexagon/bug15515-shuffle.ll
test/Transforms/LoopVectorize/X86/metadata-enable.ll
test/Transforms/LoopVectorize/opt.ll
tools/opt/opt.cpp