summaryrefslogtreecommitdiffstats
path: root/lib/Passes
diff options
context:
space:
mode:
authorMichael Kuperstein <mkuper@google.com>2017-01-19 02:21:54 +0000
committerMichael Kuperstein <mkuper@google.com>2017-01-19 02:21:54 +0000
commitdcf46612cc9fd87b8dac665c301a6f4a1532f18a (patch)
tree7b4761e7cac31004e84334780dfb1ba96bd1f582 /lib/Passes
parent3a89c350b824b6de9d38247d0e0c25739e87e22d (diff)
[PM] Add LoopVectorize to the default module pipeline
LV no longer "requires" LCSSA and LoopSimplify, and instead forms them internally as required. So, there's nothing preventing it from being enabled. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292464 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Passes')
-rw-r--r--lib/Passes/PassBuilder.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Passes/PassBuilder.cpp b/lib/Passes/PassBuilder.cpp
index 2994a07b1ccf..00f8a9dacbc3 100644
--- a/lib/Passes/PassBuilder.cpp
+++ b/lib/Passes/PassBuilder.cpp
@@ -496,11 +496,7 @@ PassBuilder::buildPerModuleDefaultPipeline(OptimizationLevel Level,
// rather than on each loop in an inside-out manner, and so they are actually
// function passes.
OptimizePM.addPass(LoopDistributePass());
-#if 0
- // FIXME: LoopVectorize relies on "requiring" LCSSA which isn't supported in
- // the new PM.
OptimizePM.addPass(LoopVectorizePass());
-#endif
// FIXME: Need to port Loop Load Elimination and add it here.
OptimizePM.addPass(InstCombinePass());