[PATCH] D73081: [LICM] Don't cache AliasSetTrackers when run under legacy PM

Daniil Suchkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 21 22:19:56 PST 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG7bdc83f34016: [LICM] Don't cache AliasSetTrackers when run under legacy PM (authored by DaniilSuchkov).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D73081

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
@@ -226,7 +226,7 @@
                               *L->getHeader()->getParent()),
                           &getAnalysis<TargetTransformInfoWrapperPass>().getTTI(
                               *L->getHeader()->getParent()),
-                          SE ? &SE->getSE() : nullptr, MSSA, &ORE, false);
+                          SE ? &SE->getSE() : nullptr, MSSA, &ORE, true);
   }
 
   /// This transformation requires natural loop information & requires that


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73081.239493.patch
Type: text/x-patch
Size: 652 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200122/14776876/attachment.bin>


More information about the llvm-commits mailing list