[llvm] [RISCV][GISEL] Add support for scalable vector types in lowerReturnVal (PR #71587)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 14 19:12:28 PST 2023
================
@@ -336,6 +357,10 @@ static bool isSupportedReturnType(Type *T, const RISCVSubtarget &Subtarget) {
return true;
}
+ if (T->isVectorTy() && Subtarget.hasVInstructions() && T->isScalableTy() &&
----------------
topperc wrote:
Isn't `isSupportedReturnType` used by lowerCall too?
https://github.com/llvm/llvm-project/pull/71587
More information about the llvm-commits
mailing list