[llvm] [GISel][RISCV]Implement indirect parameter passing for large scalars (PR #95429)

Thorsten Schütt via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 13 13:41:28 PDT 2024


================
@@ -751,6 +751,8 @@ bool CallLowering::handleAssignments(ValueHandler &Handler,
     const LLT NewLLT = Handler.isIncomingArgumentHandler() ? LocTy : ValTy;
     const EVT OrigVT = EVT::getEVT(Args[i].Ty);
     const LLT OrigTy = getLLTForType(*Args[i].Ty, DL);
+    const LLT PointerTy = LLT::pointer(MF.getDataLayout().getAllocaAddrSpace(),
----------------
tschuett wrote:

No worries. It is fine.

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


More information about the llvm-commits mailing list