]> granicus.if.org Git - llvm/commitdiff
[EarlyCSE] Pass preserves AA.
authorAlina Sbirlea <asbirlea@google.com>
Mon, 30 Sep 2019 17:08:40 +0000 (17:08 +0000)
committerAlina Sbirlea <asbirlea@google.com>
Mon, 30 Sep 2019 17:08:40 +0000 (17:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373231 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/EarlyCSE.cpp

index 64da5e081d46b8d7b7777a57326d477d62e829e8..ce540683dae26a896688abd8a6c27109fda8bef1 100644 (file)
@@ -1382,6 +1382,7 @@ public:
       AU.addPreserved<MemorySSAWrapperPass>();
     }
     AU.addPreserved<GlobalsAAWrapperPass>();
+    AU.addPreserved<AAResultsWrapperPass>();
     AU.setPreservesCFG();
   }
 };