[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 12:27:47 PDT 2023
================
@@ -303,6 +307,9 @@ static bool isSupportedArgumentType(Type *T, const RISCVSubtarget &Subtarget) {
return true;
if (T->isPointerTy())
return true;
+ // TODO: Support fixed vector types.
+ if (T->isVectorTy() && T->isScalableTy() && Subtarget.hasVInstructions())
----------------
topperc wrote:
Returns should be a separate patch. I was trying to understand your overall plans.
https://github.com/llvm/llvm-project/pull/70882
More information about the llvm-commits
mailing list