[llvm] [LV] Convert uniform-address unmasked scatters to scalar store. (PR #166114)
Elvis Wang via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 23 17:48:41 PST 2025
================
@@ -1208,6 +1208,7 @@ InstructionCost VPInstruction::computeCost(ElementCount VF,
I32Ty, {Arg0Ty, I32Ty, I1Ty});
return Ctx.TTI.getIntrinsicInstrCost(Attrs, Ctx.CostKind);
}
+ case VPInstruction::ExtractLastLanePerPart:
----------------
ElvisWang123 wrote:
Add this to prevent tests changes in the `RISCV/uniform-load-store.ll`.
Otherwise it will choose smaller VF which uses extract-last-lane-per-part and its free.
https://github.com/llvm/llvm-project/pull/166114
More information about the llvm-commits
mailing list