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:
329fa3a
)
[X86] getX86SubSuperRegisterOrZero shouldn't call getX86SubSuperRegister recursively...
author
Craig Topper
<craig.topper@gmail.com>
Fri, 25 Dec 2015 17:07:32 +0000
(17:07 +0000)
committer
Craig Topper
<craig.topper@gmail.com>
Fri, 25 Dec 2015 17:07:32 +0000
(17:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256422
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86RegisterInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86RegisterInfo.cpp
b/lib/Target/X86/X86RegisterInfo.cpp
index b0ea7367dd3674c629970956e78067d9b5ac1775..358bea6808518698ff8435451d11dc2f737f8476 100644
(file)
--- a/
lib/Target/X86/X86RegisterInfo.cpp
+++ b/
lib/Target/X86/X86RegisterInfo.cpp
@@
-638,7
+638,7
@@
unsigned getX86SubSuperRegisterOrZero(unsigned Reg, MVT::SimpleValueType VT,
case MVT::i8:
if (High) {
switch (Reg) {
- default: return getX86SubSuperRegister(Reg, MVT::i64);
+ default: return getX86SubSuperRegister
OrZero
(Reg, MVT::i64);
case X86::SIL: case X86::SI: case X86::ESI: case X86::RSI:
return X86::SI;
case X86::DIL: case X86::DI: case X86::EDI: case X86::RDI: