diff options
author | Chris Lattner <sabre@nondot.org> | 2012-05-30 18:08:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2012-05-30 18:08:02 +0000 |
commit | f186df0d3e64d1b6f61da39ce882530bf387029e (patch) | |
tree | 8080dbf14c3a106aebc9f520ff7e31c5a225c817 /lib/Target/X86/X86CallingConv.td | |
parent | 5aaabbfe62f9f92e1ad0c18b1a5b823230aa41ef (diff) | |
download | external_llvm-f186df0d3e64d1b6f61da39ce882530bf387029e.zip external_llvm-f186df0d3e64d1b6f61da39ce882530bf387029e.tar.gz external_llvm-f186df0d3e64d1b6f61da39ce882530bf387029e.tar.bz2 |
it's pointed out that R11 can be used for magic things, and doing things just for 64-bit registers is silly. Just optimize 3 more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157699 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86CallingConv.td')
-rw-r--r-- | lib/Target/X86/X86CallingConv.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86CallingConv.td b/lib/Target/X86/X86CallingConv.td index aa97b8b..a6d2709 100644 --- a/lib/Target/X86/X86CallingConv.td +++ b/lib/Target/X86/X86CallingConv.td @@ -35,7 +35,7 @@ def RetCC_X86Common : CallingConv<[ CCIfType<[i8] , CCAssignToReg<[AL, DL, CL]>>, CCIfType<[i16], CCAssignToReg<[AX, DX, CX]>>, CCIfType<[i32], CCAssignToReg<[EAX, EDX, ECX]>>, - CCIfType<[i64], CCAssignToReg<[RAX, RDX, RCX, R11]>>, + CCIfType<[i64], CCAssignToReg<[RAX, RDX, RCX]>>, // Vector types are returned in XMM0 and XMM1, when they fit. XMM2 and XMM3 // can only be used by ABI non-compliant code. If the target doesn't have XMM |