[llvm] [LoopBoundSplit] Fix edge connections during transformation (PR #192106)

Congzhe Cao via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 14 13:56:29 PDT 2026


================

----------------
CongzheUalberta wrote:

IIUC the PHI nodes being updated or created, i.e., `LCSSAPhi` and `PostLoopPN`, are not in the same loop as `PN` that we query SCEV on. `LCSSAPhi` and `PostLoopPN` exist in the preheader and header of the post-loop and `PN` is in the pre-loop. But anyhow, I'm wondering if you have suggestions to improve this code?

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


More information about the llvm-commits mailing list