[llvm] [RISCV][GISEL] Add support for lowerFormalArguments that contain scalable vector types (PR #70882)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 2 21:07:36 PDT 2023
================
@@ -1281,10 +1281,19 @@ MachineIRBuilder::buildInstr(unsigned Opc, ArrayRef<DstOp> DstOps,
SrcOps[0].getLLTTy(*getMRI());
}) &&
"type mismatch in input list");
- assert((TypeSize::ScalarTy)SrcOps.size() *
- SrcOps[0].getLLTTy(*getMRI()).getSizeInBits() ==
- DstOps[0].getLLTTy(*getMRI()).getSizeInBits() &&
- "input scalars do not exactly cover the output vector register");
+ if (DstOps[0].getLLTTy(*getMRI()).isScalable())
----------------
topperc wrote:
This isn't needed anymore either
https://github.com/llvm/llvm-project/pull/70882
More information about the llvm-commits
mailing list