From ceda68fe2430e0e3c8bec5487d66881f34b275ed Mon Sep 17 00:00:00 2001 From: Arnold Schwaighofer Date: Tue, 13 Aug 2013 16:12:04 +0000 Subject: [PATCH] Also remove logic in LateVectorize git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188285 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/IPO/PassManagerBuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/IPO/PassManagerBuilder.cpp b/lib/Transforms/IPO/PassManagerBuilder.cpp index 3883ea242c1..743dc423434 100644 --- a/lib/Transforms/IPO/PassManagerBuilder.cpp +++ b/lib/Transforms/IPO/PassManagerBuilder.cpp @@ -249,7 +249,7 @@ void PassManagerBuilder::populateModulePassManager(PassManagerBase &MPM) { // Add the various vectorization passes and relevant cleanup passes for // 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()); if (!DisableUnrollLoops)