[PATCH] D121041: [AVR] Fix incorrect calling convention for varargs functions
Ben Shi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 4 22:39:22 PST 2022
benshi001 created this revision.
benshi001 added reviewers: dylanmckay, aykevl.
Herald added subscribers: Jim, hiraditya.
Herald added a project: All.
benshi001 requested review of this revision.
Herald added subscribers: llvm-commits, jacquesguan.
Herald added a project: LLVM.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D121041
Files:
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121041.413199.patch
Type: text/x-patch
Size: 9716 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220305/81eb0c1b/attachment.bin>
More information about the llvm-commits
mailing list