mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Hanle i8 returns
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70742 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c08163e72d
commit
6e4f62790b
@ -13,6 +13,9 @@
|
||||
// MSP430 Return Value Calling Convention
|
||||
//===----------------------------------------------------------------------===//
|
||||
def RetCC_MSP430 : CallingConv<[
|
||||
// i8 are returned in registers R15B, R14B, R13B, R12B
|
||||
CCIfType<[i8], CCAssignToReg<[R15B, R14B, R13B, R12B]>>,
|
||||
|
||||
// i16 are returned in registers R15, R14, R13, R12
|
||||
CCIfType<[i16], CCAssignToReg<[R15W, R14W, R13W, R12W]>>
|
||||
]>;
|
||||
|
Loading…
Reference in New Issue
Block a user