[all-commits] [llvm/llvm-project] 51585a: [clang][AVR] Implement standard calling convention...
Ben Shi via All-commits
all-commits at lists.llvm.org
Wed Mar 23 19:09:07 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 51585aa240de6ef07979345de5406483d7393b7b
https://github.com/llvm/llvm-project/commit/51585aa240de6ef07979345de5406483d7393b7b
Author: Ben Shi <ben.shi at streamcomputing.com>
Date: 2022-03-24 (Thu, 24 Mar 2022)
Changed paths:
M clang/lib/Basic/Targets/AVR.cpp
M clang/lib/Basic/Targets/AVR.h
M clang/lib/CodeGen/TargetInfo.cpp
A clang/test/CodeGen/avr/argument.c
M clang/test/CodeGen/avr/struct.c
Log Message:
-----------
[clang][AVR] Implement standard calling convention for AVR and AVRTiny
This patch implements avr-gcc's calling convention:
https://gcc.gnu.org/wiki/avr-gcc#Calling_Convention
Reviewed By: aykevl
Differential Revision: https://reviews.llvm.org/D120720
Commit: d7afea9eb84274a4c5046253f4d78a8fdd262803
https://github.com/llvm/llvm-project/commit/d7afea9eb84274a4c5046253f4d78a8fdd262803
Author: Ben Shi <ben.shi at streamcomputing.com>
Date: 2022-03-24 (Thu, 24 Mar 2022)
Changed paths:
M llvm/lib/Target/AVR/AVRAsmPrinter.cpp
M llvm/lib/Target/AVR/AVRDevices.td
M llvm/lib/Target/AVR/AVRSubtarget.h
A llvm/test/CodeGen/AVR/global-aliases.ll
Log Message:
-----------
[AVR][MC] Emit some aliases for GPRs and IO registers
Emit the following aliases (if available):
.set __tmp_reg__, [0|16]
.set __zero_reg__, [1|17]
.set __SREG__, 63
.set __SP_H__, 62
.set __SP_L__, 61
.set __EIND__, 60
.set __RAMPZ__, 59
Reviewed By: aykevl
Differential Revision: https://reviews.llvm.org/D119807
Compare: https://github.com/llvm/llvm-project/compare/cf198e927d9d...d7afea9eb842
More information about the All-commits
mailing list