[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
================
@@ -575,6 +575,8 @@ LLVM_ABI Loop *cloneLoop(Loop *L, Loop *PL, ValueToValueMapTy &VM, LoopInfo *LI,
/// Add code that checks at runtime if the accessed arrays in \p PointerChecks
/// overlap. Returns the final comparator value or NULL if no check is needed.
+/// If \p HoistRuntimeChecks and \p TheLoop has a parent, sets \p
----------------
david-arm wrote:
nit: Perhaps this should be something like:
```
/// If \p HoistRuntimeChecks is true and \p TheLoop has a parent, then \p HoistRuntimeChecks
/// is set to true when all checks are outer-loop invariant, i.e. hoistable,
/// or false otherwise.
```
What do you think?
https://github.com/llvm/llvm-project/pull/160326
More information about the llvm-commits
mailing list