[llvm] [LV] Compute SCEV for memcheck before unlinking (PR #160326)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 26 08:16:19 PDT 2025
================
@@ -1763,6 +1763,10 @@ class GeneratedRTChecks {
/// If it is nullptr no memory runtime checks have been generated.
Value *MemRuntimeCheckCond = nullptr;
+ /// True if memory checks are outer-loop invariant (hoistable).
+ /// Used to discount check cost for inner loops.
----------------
david-arm wrote:
nit: Perhaps clearer written as 'Used to discount the cost of performing runtime checks for inner loops'?
https://github.com/llvm/llvm-project/pull/160326
More information about the llvm-commits
mailing list