llvm-project
095411e5 - [VPlan] Hoist sums of invariant operands of adds in runtime checks. (#240190)

Commit
2 days ago
[VPlan] Hoist sums of invariant operands of adds in runtime checks. (#240190) When expanding a variant integer add for the runtime checks of an inner loop in a loop nest, operands invariant in the outer loop were hoisted individually during IR SCEV expansion. Update VPlan-based SCEV epander to expand the sum of the invariant operands plus the sum of the others, so the invariant sum is expanded in IR and hoisted out of the outer loop.
Author
Parents
Loading