projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c08163e
)
Hanle i8 returns
author
Anton Korobeynikov
<asl@math.spbu.ru>
Sun, 3 May 2009 13:11:48 +0000
(13:11 +0000)
committer
Anton Korobeynikov
<asl@math.spbu.ru>
Sun, 3 May 2009 13:11:48 +0000
(13:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70742
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/MSP430/MSP430CallingConv.td
patch
|
blob
|
history
diff --git
a/lib/Target/MSP430/MSP430CallingConv.td
b/lib/Target/MSP430/MSP430CallingConv.td
index e5826982279a69387c7febf74e42a45f21f59a0a..ad27cc9122a8adbdec314655401fd4d89c1a3694 100644
(file)
--- a/
lib/Target/MSP430/MSP430CallingConv.td
+++ b/
lib/Target/MSP430/MSP430CallingConv.td
@@
-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]>>
]>;