[llvm] [LCSSA] Cache the loop exit blocks across recursive analysis (NFC) (PR #101087)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 30 13:29:58 PDT 2024


================
@@ -374,6 +391,8 @@ bool llvm::formLCSSA(Loop &L, const DominatorTree &DT, const LoopInfo *LI,
 
   SmallVector<BasicBlock *, 8> ExitBlocks;
   L.getExitBlocks(ExitBlocks);
----------------
nikic wrote:

This getExitBlocks() call should also be served from the cache.

https://github.com/llvm/llvm-project/pull/101087


More information about the llvm-commits mailing list