[PATCH] D144860: [LICM][NFC] Don't preserve DT and loop analyzes separately

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 27 22:47:57 PST 2023


mkazantsev updated this revision to Diff 501034.
mkazantsev retitled this revision from "[LoopPredication][NFC] Preserve DT and loop analyzes" to "[LICM][NFC] Don't preserve DT and loop analyzes separately".
mkazantsev edited the summary of this revision.
Herald added a subscriber: asbirlea.

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144860/new/

https://reviews.llvm.org/D144860

Files:
  llvm/lib/Transforms/Scalar/LICM.cpp


Index: llvm/lib/Transforms/Scalar/LICM.cpp
===================================================================
--- llvm/lib/Transforms/Scalar/LICM.cpp
+++ llvm/lib/Transforms/Scalar/LICM.cpp
@@ -281,9 +281,6 @@
     return PreservedAnalyses::all();
 
   auto PA = getLoopPassPreservedAnalyses();
-
-  PA.preserve<DominatorTreeAnalysis>();
-  PA.preserve<LoopAnalysis>();
   PA.preserve<MemorySSAAnalysis>();
 
   return PA;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144860.501034.patch
Type: text/x-patch
Size: 424 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230228/ccbfa8c9/attachment.bin>


More information about the llvm-commits mailing list