diff --git a/llvm/lib/Transforms/Utils/LoopSimplify.cpp b/llvm/lib/Transforms/Utils/LoopSimplify.cpp index a364cab50629..b3a928bf7753 100644 --- a/llvm/lib/Transforms/Utils/LoopSimplify.cpp +++ b/llvm/lib/Transforms/Utils/LoopSimplify.cpp @@ -819,10 +819,6 @@ PreservedAnalyses LoopSimplifyPass::run(Function &F, if (!Changed) return PreservedAnalyses::all(); PreservedAnalyses PA; - - // The old PM also preserved LCSSAID and BreakCriticalEdgesID. - // This makes no sense in the new PM so we omit those from the set - // of preserved passes. PA.preserve<DominatorTreeAnalysis>(); PA.preserve<LoopAnalysis>(); PA.preserve<BasicAA>();