[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
Wed Nov 1 15:20:25 PDT 2023
================
@@ -303,6 +309,11 @@ static bool isSupportedArgumentType(Type *T, const RISCVSubtarget &Subtarget) {
return true;
if (T->isPointerTy())
return true;
+ // TODO: support 16bit FPtypes.
+ // TODO: Support fixed vector types.
+ if (IsLowerArgs && T->isVectorTy() && Subtarget.hasVInstructions() &&
+ !T->is16bitFPTy() && T->isScalableTy())
----------------
topperc wrote:
I'm not sure why've singled out 16BitFPTy here. Aren't vectors of i128 or f128 also not supported or any other random integer type that's isn't i8/i16/i32/i64? Also vectors of i64 aren't supported with only the Zve32* extensions.
https://github.com/llvm/llvm-project/pull/70882
More information about the llvm-commits
mailing list