[llvm] Xtensa] Implement windowed call ABI. (PR #130001)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 6 00:33:40 PST 2025


================
@@ -339,7 +348,18 @@ SDValue XtensaTargetLowering::LowerFormalArguments(
 
       // Transform the arguments stored on
       // physical registers into virtual ones
-      Register Reg = MF.addLiveIn(VA.getLocReg(), &Xtensa::ARRegClass);
+      Register Reg = 0;
+      unsigned FrameReg = Subtarget.getRegisterInfo()->getFrameRegister(MF);
----------------
arsenm wrote:

MCegister 

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


More information about the llvm-commits mailing list