[PATCH] D29069: [MSP430] Add SRet support to MSP430 target
Andrew Wygle via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 23 19:22:26 PST 2017
awygle created this revision.
This patch adds support for struct return values to the MSP430 target backend. It also reverses the order of argument and return registers in the calling convention to bring it into closer alignment with the published EABI from TI.
https://reviews.llvm.org/D29069
Files:
lib/Target/MSP430/MSP430CallingConv.td
lib/Target/MSP430/MSP430ISelLowering.cpp
lib/Target/MSP430/MSP430ISelLowering.h
lib/Target/MSP430/MSP430MachineFunctionInfo.h
test/CodeGen/MSP430/AddrMode-bis-rx.ll
test/CodeGen/MSP430/AddrMode-bis-xr.ll
test/CodeGen/MSP430/AddrMode-mov-rx.ll
test/CodeGen/MSP430/AddrMode-mov-xr.ll
test/CodeGen/MSP430/Inst16mr.ll
test/CodeGen/MSP430/Inst16ri.ll
test/CodeGen/MSP430/Inst16rm.ll
test/CodeGen/MSP430/Inst16rr.ll
test/CodeGen/MSP430/Inst8mr.ll
test/CodeGen/MSP430/Inst8ri.ll
test/CodeGen/MSP430/Inst8rm.ll
test/CodeGen/MSP430/Inst8rr.ll
test/CodeGen/MSP430/bit.ll
test/CodeGen/MSP430/byval.ll
test/CodeGen/MSP430/cc_args.ll
test/CodeGen/MSP430/cc_ret.ll
test/CodeGen/MSP430/indirectbr2.ll
test/CodeGen/MSP430/jumptable.ll
test/CodeGen/MSP430/memset.ll
test/CodeGen/MSP430/setcc.ll
test/CodeGen/MSP430/struct-return.ll
test/CodeGen/MSP430/vararg.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29069.85517.patch
Type: text/x-patch
Size: 34699 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170124/f1d3f0a0/attachment.bin>
More information about the llvm-commits
mailing list