[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
================
@@ -472,7 +473,7 @@ static void buildCopyFromRegs(MachineIRBuilder &B, ArrayRef<Register> OrigRegs,
} else {
// Vector was split, and elements promoted to a wider type.
// FIXME: Should handle floating point promotions.
- LLT BVType = LLT::fixed_vector(LLTy.getNumElements(), PartLLT);
+ LLT BVType = LLT::vector(LLTy.getElementCount(), PartLLT);
----------------
topperc wrote:
This change doesn't make sense since G_BUILD_VECTOR can't have scalable type.
https://github.com/llvm/llvm-project/pull/70882
More information about the llvm-commits
mailing list