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

Gábor Spaits via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 13 10:50:40 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;
----------------
spaits wrote:

Yes it can. I have not fully investigated this yet (I did not have the time yet), but if I don't have that if then I will get a std::bad_variant_exception. I will do an investigation and give an update later this week.

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


More information about the llvm-commits mailing list