[llvm] [GISel][RISCV]Implement indirect parameter passing (PR #95429)
    Sergei Barannikov via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Jun 17 06:56:32 PDT 2024
    
    
  
================
@@ -798,15 +857,19 @@ bool CallLowering::handleAssignments(ValueHandler &Handler,
         // store. We may need to adjust the offset for big endian targets.
         LLT MemTy = Handler.getStackValueStoreType(DL, VA, Flags);
 
-        MachinePointerInfo MPO;
+        MachinePointerInfo MPO(ArgReg);
----------------
s-barannikov wrote:
It is getStackAddress that should initialize MPO.
https://github.com/llvm/llvm-project/pull/95429
    
    
More information about the llvm-commits
mailing list