[llvm] [VPlan] Explicitly handle scalar pointer inductions. (PR #83068)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 26 07:53:43 PDT 2024
================
@@ -490,6 +519,10 @@ Value *VPInstruction::generateInstruction(VPTransformState &State,
return ReducedPartRdx;
}
+ case VPInstruction::PtrAdd:
+ assert(vputils::onlyFirstLaneUsed(this) &&
+ "can only generate first lane for PtrAdd");
+ return generatePerLane(State, VPIteration(Part, 0));
----------------
fhahn wrote:
adjusted, thanks!
https://github.com/llvm/llvm-project/pull/83068
More information about the llvm-commits
mailing list