[llvm] [VPlan] Directly unroll VectorPointerRecipe (PR #168886)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 14 14:11:46 PST 2025
================
@@ -314,12 +329,12 @@ void UnrollState::unrollRecipeByUF(VPRecipeBase &R) {
// Add operand indicating the part to generate code for, to recipes still
// requiring it.
if (isa<VPScalarIVStepsRecipe, VPWidenCanonicalIVRecipe,
- VPVectorPointerRecipe, VPVectorEndPointerRecipe>(Copy) ||
+ VPVectorEndPointerRecipe>(Copy) ||
match(Copy,
m_VPInstruction<VPInstruction::CanonicalIVIncrementForPart>()))
Copy->addOperand(getConstantInt(Part));
- if (isa<VPVectorPointerRecipe, VPVectorEndPointerRecipe>(R))
+ if (isa<VPVectorEndPointerRecipe>(R))
----------------
fhahn wrote:
would be good to also do the same for VectorEndPointer as follow up
https://github.com/llvm/llvm-project/pull/168886
More information about the llvm-commits
mailing list