[llvm] [GISel][RISCV]Implement indirect parameter passing (PR #95429)
Michael Maitland via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 17 12:52:12 PDT 2024
================
@@ -802,11 +847,16 @@ bool CallLowering::handleAssignments(ValueHandler &Handler,
Register StackAddr = Handler.getStackAddress(
MemTy.getSizeInBytes(), VA.getLocMemOffset(), MPO, Flags);
+ // Finish the handling of indirect passing from the passers
+ // (OutgoingParameterHandler) side.
+ // This branch is needed, so the pointer to the value is loaded onto the
+ // stack.
+ if (IndirectParameterPassingHandled) {
----------------
michaelmaitland wrote:
I thought this was something we could do, but we need to know this information outside of the loop, and I think VA is out of scope.
https://github.com/llvm/llvm-project/pull/95429
More information about the llvm-commits
mailing list