llvm-project
bbcd4d5e - [VPlan] Re-use LCSSA phis when expanding AddRecs of other loops. (#230772)

Commit
30 days ago
[VPlan] Re-use LCSSA phis when expanding AddRecs of other loops. (#230772) Don't re-use IR values defined in loops that do not contain the plan's entry in VPSCEVExpander::tryToReuseIRValue, as such uses outside the loop break LCSSA. Instead, match SCEVExpander behavior and re-use an existing LCSSA phi, reusing SCEVExpander::findReusableLCSSAPhi.
Author
Parents
Loading