[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:06:43 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:
Don't you need support for returning vectors too to keep the instructions from being trivially dead?
https://github.com/llvm/llvm-project/pull/70882
More information about the llvm-commits
mailing list