[PATCH] D68573: [LoopRotate] Unconditionally get ScalarEvolution.

Alina Sbirlea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 7 13:27:58 PDT 2019


asbirlea accepted this revision.
asbirlea added a comment.
This revision is now accepted and ready to land.

lgtm.



================
Comment at: llvm/lib/Transforms/Scalar/LoopRotation.cpp:97
     auto *AC = &getAnalysis<AssumptionCacheTracker>().getAssumptionCache(F);
     auto *DTWP = getAnalysisIfAvailable<DominatorTreeWrapperPass>();
     auto *DT = DTWP ? &DTWP->getDomTree() : nullptr;
----------------
AFAICT this also holds true for the DominatorTreeWrapperPass.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68573





More information about the llvm-commits mailing list