diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2016-12-28 02:24:55 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2016-12-28 02:24:55 +0000 |
| commit | e635289ee29ab92495cd376faefc2a7dcbe11c59 (patch) | |
| tree | 7cc54f199688ef892e0355abf3a0890bb07156b6 /llvm/lib/Passes | |
| parent | 8988ebb435e830b05231dac0cf9b596dff390dd9 (diff) | |
| download | bcm5719-llvm-e635289ee29ab92495cd376faefc2a7dcbe11c59.tar.gz bcm5719-llvm-e635289ee29ab92495cd376faefc2a7dcbe11c59.zip | |
[PM] Disable the loop vectorizer from the new PM's pipeline as it
currenty relies on the old PM's dependency system forming LCSSA.
The new PM will require a different design for this, and for now this is
causing most of the issues I'm currently seeing in testing. I'd like to
get to a testable baseline and then work on re-enabling things one at
a time.
llvm-svn: 290644
Diffstat (limited to 'llvm/lib/Passes')
| -rw-r--r-- | llvm/lib/Passes/PassBuilder.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Passes/PassBuilder.cpp b/llvm/lib/Passes/PassBuilder.cpp index 61499ab7d77..40536a9296c 100644 --- a/llvm/lib/Passes/PassBuilder.cpp +++ b/llvm/lib/Passes/PassBuilder.cpp @@ -490,7 +490,11 @@ 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()); |

