[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
================
@@ -866,11 +898,16 @@ bool CallLowering::handleAssignments(ValueHandler &Handler,
}
}
- // Now that all pieces have been assigned, re-pack the register typed values
- // into the original value typed registers.
- if (Handler.isIncomingArgumentHandler() && OrigVT != LocVT) {
- // Merge the split registers into the expected larger result vregs of
- // the original call.
+ // In case of indirect parameter passing load the value referred to by
----------------
michaelmaitland wrote:
> Now that all pieces have been assigned, re-pack the register typed values into the original value typed registers.
Why don't we have to do this for the indirect case?
https://github.com/llvm/llvm-project/pull/95429
More information about the llvm-commits
mailing list