[llvm] [SCEV] Cache collected loop guards. NFCI (PR #116947)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 21 01:55:32 PST 2024


================
@@ -1167,6 +1207,7 @@ class ScalarEvolution {
   /// If \p AllowPredicates is set, this call will try to use a minimal set of
   /// SCEV predicates in order to return an exact answer.
   ExitLimit computeExitLimitFromCond(const Loop *L, Value *ExitCond,
+                                     std::function<LoopGuards()> GetLoopGuards,
----------------
lukel97 wrote:

Argh, that's probably it. Will fix...

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


More information about the llvm-commits mailing list