[PATCH] D124439: [JumpThreading][NFC][CompileTime] Reuse existing LoopInfo instead of recomputation

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 26 09:54:20 PDT 2022


aeubanks added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/JumpThreading.cpp:357-358
+    auto &LI = AM.getResult<LoopAnalysis>(F);
     BPI.reset(new BranchProbabilityInfo(F, LI, &TLI));
     BFI.reset(new BlockFrequencyInfo(F, *BPI, LI));
   }
----------------
can these two also go through the analysis manager?


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

https://reviews.llvm.org/D124439



More information about the llvm-commits mailing list