llvm-project
94a6cd46 - [VPlan] Expand VPWidenPointerInductionRecipe into separate recipes (#148274)

Commit
130 days ago
[VPlan] Expand VPWidenPointerInductionRecipe into separate recipes (#148274) This is the VPWidenPointerInductionRecipe equivalent of #118638, with the motivation of allowing us to use the EVL as the induction step. There is a new VPInstruction added, WidePtrAdd to allow adding the step vector to the induction phi, since VPInstruction::PtrAdd only handles scalars or multiple scalar lanes. Originally this transformation was copied from the original recipe's execute code, but it's since been simplifed by teaching `unrollWidenInductionByUF` to unroll the recipe, which brings it inline with VPWidenIntOrFpInductionRecipe.
Author
Parents
Loading