Also remove logic in LateVectorize

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188285 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Arnold Schwaighofer 2013-08-13 16:12:04 +00:00
parent b6171c5296
commit ceda68fe24

View File

@ -249,7 +249,7 @@ void PassManagerBuilder::populateModulePassManager(PassManagerBase &MPM) {
// Add the various vectorization passes and relevant cleanup passes for // Add the various vectorization passes and relevant cleanup passes for
// them since we are no longer in the middle of the main scalar pipeline. // them since we are no longer in the middle of the main scalar pipeline.
if (LoopVectorize && OptLevel > 1 && SizeLevel < 2) { if (LoopVectorize) {
MPM.add(createLoopVectorizePass()); MPM.add(createLoopVectorizePass());
if (!DisableUnrollLoops) if (!DisableUnrollLoops)