1
0
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:
Anton Korobeynikov 2009-05-03 13:11:48 +00:00
parent 67b1a5c20b
commit 2b8085a3f5

View File

@ -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]>>
]>;