An i8 argument should only cost 1 byte on the stack. This is
compatible with avr-gcc.
There are also more test cases (of calling convention) are added.
Paths
| Differential D121767
[AVR] Fix incorrect calling convention for varargs functions ClosedPublic Authored by benshi001 on Mar 15 2022, 8:11 PM.
Details Summary An i8 argument should only cost 1 byte on the stack. This is There are also more test cases (of calling convention) are added.
Diff Detail
Event TimelineComment Actions I assume you've verified the new test cases with avr-gcc? If so, this looks good to me. This revision is now accepted and ready to land.Mar 22 2022, 5:40 PM Comment Actions
Yes. Verified with avr-gcc 7.3.0. This revision was landed with ongoing or failed builds.Mar 22 2022, 7:00 PM Closed by commit rG3fd9a320da8a: [AVR] Fix incorrect calling convention for varargs functions (authored by benshi001). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 417464 llvm/lib/Target/AVR/AVRCallingConv.td
llvm/test/CodeGen/AVR/calling-conv/c/basic.ll
llvm/test/CodeGen/AVR/calling-conv/c/basic_aggr.ll
llvm/test/CodeGen/AVR/calling-conv/c/stack.ll
|