diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-04-04 05:16:06 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-04-04 05:16:06 +0000 |
commit | 840beec2d0855db9165c02bc29a79af8e357fc24 (patch) | |
tree | cc21088e8d06f5c3158cd6fc7e00b483c9f0a817 /llvm/lib/Target/X86/X86FastISel.cpp | |
parent | 79ed5d44e715537a933c399885dce58c7d877f73 (diff) | |
download | bcm5719-llvm-840beec2d0855db9165c02bc29a79af8e357fc24.tar.gz bcm5719-llvm-840beec2d0855db9165c02bc29a79af8e357fc24.zip |
Make consistent use of MCPhysReg instead of uint16_t throughout the tree.
llvm-svn: 205610
Diffstat (limited to 'llvm/lib/Target/X86/X86FastISel.cpp')
-rw-r--r-- | llvm/lib/Target/X86/X86FastISel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/X86/X86FastISel.cpp b/llvm/lib/Target/X86/X86FastISel.cpp index 1aab1eace5b..79baca83040 100644 --- a/llvm/lib/Target/X86/X86FastISel.cpp +++ b/llvm/lib/Target/X86/X86FastISel.cpp @@ -1821,10 +1821,10 @@ bool X86FastISel::FastLowerArguments() { } } - static const uint16_t GPR32ArgRegs[] = { + static const MCPhysReg GPR32ArgRegs[] = { X86::EDI, X86::ESI, X86::EDX, X86::ECX, X86::R8D, X86::R9D }; - static const uint16_t GPR64ArgRegs[] = { + static const MCPhysReg GPR64ArgRegs[] = { X86::RDI, X86::RSI, X86::RDX, X86::RCX, X86::R8 , X86::R9 }; @@ -2163,7 +2163,7 @@ bool X86FastISel::DoSelectCall(const Instruction *I, const char *MemIntName) { if (Subtarget->is64Bit() && isVarArg && !isWin64) { // Count the number of XMM registers allocated. - static const uint16_t XMMArgRegs[] = { + static const MCPhysReg XMMArgRegs[] = { X86::XMM0, X86::XMM1, X86::XMM2, X86::XMM3, X86::XMM4, X86::XMM5, X86::XMM6, X86::XMM7 }; |