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:
b5d8088
)
bugfix: fastcall does not require the first two params to be marked 'inreg',
author
Chris Lattner
<sabre@nondot.org>
Wed, 28 Feb 2007 18:35:11 +0000
(18:35 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 28 Feb 2007 18:35:11 +0000
(18:35 +0000)
they always get registers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34748
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86CallingConv.td
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86CallingConv.td
b/lib/Target/X86/X86CallingConv.td
index f96b040461a8ef66f9a49e2b24d3390df3bb5409..d397bf3369f1f665336b42ecf5fb2cb5374da7b1 100644
(file)
--- a/
lib/Target/X86/X86CallingConv.td
+++ b/
lib/Target/X86/X86CallingConv.td
@@
-148,7
+148,7
@@
def CC_X86_32_FastCall : CallingConv<[
CCIfType<[i8, i16], CCPromoteToType<i32>>,
// The first 2 integer arguments are passed in ECX/EDX
- CCIf
InReg<CCIfType<[i32], CCAssignToReg<[ECX, EDX]>
>>,
+ CCIf
Type<[i32], CCAssignToReg<[ECX, EDX]
>>,
// Otherwise, same as everything else.
CCDelegateTo<CC_X86_32_Common>