[llvm] [RISCV][GISel] Add FP calling convention support using FPR and GPR registers. (PR #69138)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 15 21:55:04 PDT 2023
================
@@ -294,13 +377,9 @@ bool RISCVCallLowering::lowerCall(MachineIRBuilder &MIRBuilder,
MIRBuilder.insertInstr(Call);
- if (Info.OrigRet.Ty->isVoidTy())
+ if (Info.OrigRet.Ty->isVoidTy() || !isSupportedReturnType(Info.OrigRet.Ty))
----------------
topperc wrote:
This is mistake. I shouldn't have merged these ifs
https://github.com/llvm/llvm-project/pull/69138
More information about the llvm-commits
mailing list