[llvm] [LV] Use wide lane masks as the canonical form when tail-folding & interleaving (PR #209484)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 5 02:41:14 PDT 2026
================
@@ -1104,6 +1112,17 @@ Value *VPInstruction::generate(VPTransformState &State) {
return Result;
}
+ case VPInstruction::ExtractVectorForPart: {
+ Value *Src = State.get(getOperand(0));
+ Type *DstTy = VectorType::get(getScalarType(), State.VF);
+ unsigned Part = cast<VPConstantInt>(getOperand(1))->getZExtValue();
----------------
david-arm wrote:
nit: Perhaps use `uint64_t` to match the return type of `getZExtValue`?
https://github.com/llvm/llvm-project/pull/209484
More information about the llvm-commits
mailing list