diff options
author | Luke Lau <luke@igalia.com> | 2025-05-08 18:47:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-08 18:47:44 +0800 |
commit | 1484f82cbc62eab9c4c8f393b84c2f521bf882f6 (patch) | |
tree | 4fe8cf40df58470c258e6647f1b66076ac20f760 /llvm/lib/CodeGen/MachineRegisterInfo.cpp | |
parent | d9bdc2d6a2d3efcce81ecab151b393f19a81696b (diff) | |
download | llvm-1484f82cbc62eab9c4c8f393b84c2f521bf882f6.zip llvm-1484f82cbc62eab9c4c8f393b84c2f521bf882f6.tar.gz llvm-1484f82cbc62eab9c4c8f393b84c2f521bf882f6.tar.bz2 |
[VPlan] Add VPInstruction::StepVector and use it in VPWidenIntOrFpInductionRecipe (#129508)
Split off from #118638, this adds VPInstruction::StepVector, which
generates integer step vectors (0,1,2,...,VF). This is a step towards
eventually modelling all the separate parts of
VPWidenIntOrFpInductionRecipe in VPlan.
This is then used by VPWidenIntOrFpInductionRecipe, where we materialize
it just before unrolling so the operands stay in a fixed position.
The need for a separate operand in VPWidenIntOrFpInductionRecipe, as
well as the need to update it in
optimizeVectorInductionWidthForTCAndVFUF, should be removed with #118638
when everything is expanded in convertToConcreteRecipes.
Diffstat (limited to 'llvm/lib/CodeGen/MachineRegisterInfo.cpp')
0 files changed, 0 insertions, 0 deletions