[llvm] [NVPTX] Generalize and extend upsizing when lowering 8/16-bit-element vector loads/stores (PR #119622)
Drew Kersnar via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 16 16:23:43 PST 2024
================
@@ -3278,7 +3268,10 @@ NVPTXTargetLowering::LowerSTOREVector(SDValue Op, SelectionDAG &DAG) const {
Ops.push_back(N->getOperand(0));
// Then the split values
- if (UpsizeElementTypes) {
+ if (ValVT.getVectorNumElements() > NumElts) {
+ // If the number of elements has changed, getVectorLoweringShape has upsized
----------------
dakersnar wrote:
Done, added asserts
https://github.com/llvm/llvm-project/pull/119622
More information about the llvm-commits
mailing list