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
// 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());
; CHECK-O: Starting llvm::Function pass manager run.
; CHECK-O: Running pass: Float2IntPass
; CHECK-O: Running pass: LoopDistributePass
+; CHECK-O: Running pass: LoopVectorizePass
; CHECK-O: Running pass: InstCombinePass
; CHECK-O: Running pass: SLPVectorizerPass
; CHECK-O: Running pass: SimplifyCFGPass