diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-12-13 23:11:54 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-12-13 23:11:54 +0000 |
commit | 9ad73e93a51c473a90e010a489a9c7c221112030 (patch) | |
tree | 9ca5154ee2e77302a338200ee8e1ed2aafacc2c0 /lib/Transforms/IPO | |
parent | 01bc2b39a4cbe76537e11411038bb834bceaf8a0 (diff) | |
download | external_llvm-9ad73e93a51c473a90e010a489a9c7c221112030.zip external_llvm-9ad73e93a51c473a90e010a489a9c7c221112030.tar.gz external_llvm-9ad73e93a51c473a90e010a489a9c7c221112030.tar.bz2 |
Enable the Loop Vectorizer by default for O2 and O3. Disable if-conversion by default. I plan to revert this patch later today.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170157 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO')
-rw-r--r-- | lib/Transforms/IPO/PassManagerBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/PassManagerBuilder.cpp b/lib/Transforms/IPO/PassManagerBuilder.cpp index a9a9f2e..7351183 100644 --- a/lib/Transforms/IPO/PassManagerBuilder.cpp +++ b/lib/Transforms/IPO/PassManagerBuilder.cpp @@ -188,7 +188,7 @@ void PassManagerBuilder::populateModulePassManager(PassManagerBase &MPM) { MPM.add(createLoopIdiomPass()); // Recognize idioms like memset. MPM.add(createLoopDeletionPass()); // Delete dead loops - if (LoopVectorize && OptLevel > 1) + if (true && OptLevel > 1) MPM.add(createLoopVectorizePass()); if (!DisableUnrollLoops) |