[llvm] [SCEV] Cache collected loop guards. NFCI (PR #116947)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 21 01:51:38 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,
----------------
nikic wrote:
std::function -> function_ref
https://github.com/llvm/llvm-project/pull/116947
More information about the llvm-commits
mailing list