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

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 7 13:30:32 PDT 2019


fhahn marked an inline comment as done.
fhahn added inline comments.


================
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;
----------------
asbirlea wrote:
> AFAICT this also holds true for the DominatorTreeWrapperPass.
Yep. I'll commit this with both fixed.


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