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

Michael Maitland via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 13 10:17:37 PDT 2024


================
@@ -89,12 +89,13 @@ struct RISCVOutgoingValueHandler : public CallLowering::OutgoingValueHandler {
                             const MachinePointerInfo &MPO,
                             const CCValAssign &VA) override {
     MachineFunction &MF = MIRBuilder.getMF();
-    uint64_t LocMemOffset = VA.getLocMemOffset();
-
+    uint64_t Offset = 0;
----------------
michaelmaitland wrote:

The spec of this function:

>  The specified value has been assigned to a stack location. Load or store it there, with appropriate extension if necessary.

Can this be anything other than a MemLoc? The spec says it is describing a stack location which I think is always a MemLoc.

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


More information about the llvm-commits mailing list