[llvm] [LoopBoundSplit] Bail out when the recurrence is not this loop's IV (PR #221604)

Timur Baidusenov via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 15 20:19:20 PDT 2026


bai-tim wrote:

Ping.

@nikic This implements what you suggested in #167227: the missing check that
the AddRec belongs to the current loop, plus merging analyzeICmp() into
hasProcessableCondition() (first commit, NFC). Since PRs are squash-merged,
I'm happy to split the NFC part into a separate PR if you prefer.

@dtcxzyw @fhahn could you also take a look if you have time?

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


More information about the llvm-commits mailing list