[llvm] [LoopPeel] LCSSA form is destroyed by LoopPeel, preserve it (PR #78696)
Vedant Paranjape via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 22 10:09:34 PST 2024
vedantparanjape-amd wrote:
> Can you please explain in what way LCSSA form gets broken? How does the IR look like after peeling but before simplification?
>
> Just calling formLCSSARecursively() is of course correct, but it's better to understand why LCSSA gets broken and whether we can fix it incrementally instead.

This is the CFG and below is the diff at the end of LoopPeel before and after LCSSA form is regenerated.

https://github.com/llvm/llvm-project/pull/78696
More information about the llvm-commits
mailing list