diff options
author | Arnold Schwaighofer <aschwaighofer@apple.com> | 2013-08-13 15:51:25 +0000 |
---|---|---|
committer | Arnold Schwaighofer <aschwaighofer@apple.com> | 2013-08-13 15:51:25 +0000 |
commit | b6171c529670e5c240aaf9c08f5f1b6dba9d16fc (patch) | |
tree | 5e44a6a9629dd18a730ca162c60dba22977cc9ab /lib/Transforms/IPO/PassManagerBuilder.cpp | |
parent | 4c857225ecba199bc74b350bbb1a2ded125ebfb7 (diff) | |
download | external_llvm-b6171c529670e5c240aaf9c08f5f1b6dba9d16fc.zip external_llvm-b6171c529670e5c240aaf9c08f5f1b6dba9d16fc.tar.gz external_llvm-b6171c529670e5c240aaf9c08f5f1b6dba9d16fc.tar.bz2 |
Remove logic that decides whether to vectorize or not depending on O-levels
I have moved this logic into clang and opt.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188281 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/PassManagerBuilder.cpp')
-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 a6b3f4e..3883ea2 100644 --- a/lib/Transforms/IPO/PassManagerBuilder.cpp +++ b/lib/Transforms/IPO/PassManagerBuilder.cpp @@ -195,7 +195,7 @@ void PassManagerBuilder::populateModulePassManager(PassManagerBase &MPM) { MPM.add(createLoopIdiomPass()); // Recognize idioms like memset. MPM.add(createLoopDeletionPass()); // Delete dead loops - if (!LateVectorize && LoopVectorize && OptLevel > 1 && SizeLevel < 2) + if (!LateVectorize && LoopVectorize) MPM.add(createLoopVectorizePass()); if (!DisableUnrollLoops) |