mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Hanle i8 returns
llvm-svn: 70742
This commit is contained in:
parent
67b1a5c20b
commit
2b8085a3f5
@ -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