[llvm] [LV] Compute SCEV for memcheck before unlinking (PR #160326)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 26 02:07:29 PDT 2025
================
@@ -1807,6 +1809,10 @@ class GeneratedRTChecks {
BasicBlock *LoopHeader = L->getHeader();
BasicBlock *Preheader = L->getLoopPreheader();
+ // Outer loop is used as part of later cost calculations (e.g. to
+ // determine if runtime checks are loop-invariant and can be hoisted).
+ OuterLoop = L->getParentLoop();
----------------
fhahn wrote:
can stay at original position?
https://github.com/llvm/llvm-project/pull/160326
More information about the llvm-commits
mailing list