[PATCH] D21772: New pass manager for LICM.

Sean Silva via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 3 23:57:01 PDT 2016


silvas added a subscriber: silvas.

================
Comment at: lib/Transforms/Scalar/LICM.cpp:1122
@@ -1097,3 +1121,3 @@
 ///
-void LICM::cloneBasicBlockAnalysis(BasicBlock *From, BasicBlock *To, Loop *L) {
-  AliasSetTracker *AST = LoopToAliasSetMap.lookup(L);
+void LegacyLICMPass::cloneBasicBlockAnalysis(BasicBlock *From, BasicBlock *To,
+                                             Loop *L) {
----------------
This seems to be called by the LPM in the old pass manager as a notification. I don't think there is an analog in the new PM -- does there need to be? What happens if this is not called?


http://reviews.llvm.org/D21772





More information about the llvm-commits mailing list