]> granicus.if.org Git - llvm/commitdiff
[MemorySSA & LoopPassManager] Analysis can be preserved only when all loop passes...
authorAlina Sbirlea <asbirlea@google.com>
Fri, 26 Jul 2019 18:57:26 +0000 (18:57 +0000)
committerAlina Sbirlea <asbirlea@google.com>
Fri, 26 Jul 2019 18:57:26 +0000 (18:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367143 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/Scalar/LoopPassManager.h

index 61ec58585fd0819ffd75bef77f4479dbfeff9ee8..058f69aeb6e18f71131f839120248ef35a0f3982 100644 (file)
@@ -382,8 +382,6 @@ public:
     PA.preserve<DominatorTreeAnalysis>();
     PA.preserve<LoopAnalysis>();
     PA.preserve<ScalarEvolutionAnalysis>();
-    if (EnableMSSALoopDependency)
-      PA.preserve<MemorySSAAnalysis>();
     // FIXME: What we really want to do here is preserve an AA category, but
     // that concept doesn't exist yet.
     PA.preserve<AAManager>();