[llvm] [RISCV][GISEL] Add support for scalable vector types in lowerReturnVal (PR #71587)

Michael Maitland via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 14 20:35:40 PST 2023


================
@@ -336,6 +357,10 @@ static bool isSupportedReturnType(Type *T, const RISCVSubtarget &Subtarget) {
     return true;
   }
 
+  if (T->isVectorTy() && Subtarget.hasVInstructions() && T->isScalableTy() &&
----------------
michaelmaitland wrote:

I think that’s a different function. 

https://github.com/llvm/llvm-project/pull/71587


More information about the llvm-commits mailing list