[llvm] [VPlan] Directly unroll VectorEndPointerRecipe (PR #172372)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 13 02:52:47 PST 2026
================
@@ -360,20 +360,24 @@ void UnrollState::unrollRecipeByUF(VPRecipeBase &R) {
Phi->setOperand(1, Copy->getVPSingleValue());
}
}
+ if (auto *VEPR = dyn_cast<VPVectorEndPointerRecipe>(Copy)) {
+ VEPR->setOperand(0, R.getOperand(0));
+ VEPR->setOperand(1, R.getOperand(1));
+ VEPR->materializeOffset(Part);
----------------
fhahn wrote:
but couldn't we call it for the original, after the loop?
https://github.com/llvm/llvm-project/pull/172372
More information about the llvm-commits
mailing list