From f53e7cb9b95677dcc2181485fed8cb592056b805 Mon Sep 17 00:00:00 2001 From: Nadav Rotem Date: Fri, 14 Dec 2012 21:30:23 +0000 Subject: [PATCH] Enable the loop vectorizer by default. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170246 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 a9a9f2eeceb..73511838d43 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) -- 2.34.1