[llvm] [Xtensa] Implement vararg support. (PR #117126)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 4 14:09:49 PST 2024
================
@@ -25,13 +25,14 @@ class XtensaMachineFunctionInfo : public MachineFunctionInfo {
/// FrameIndex of the spill slot for the scratch register in BranchRelaxation.
int BranchRelaxationScratchFrameIndex = -1;
unsigned VarArgsFirstGPR;
- int VarArgsStackOffset;
- unsigned VarArgsFrameIndex;
+ unsigned VarArgsOnStackFrameIndex;
+ unsigned VarArgsInRegsFrameIndex;
----------------
arsenm wrote:
```suggestion
int VarArgsInRegsFrameIndex;
```
Frame indexes are signed
https://github.com/llvm/llvm-project/pull/117126
More information about the llvm-commits
mailing list