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:
452a9fd
)
Fix obvious mistake pointed out by Michael Spencer.
author
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Thu, 7 Oct 2010 18:47:10 +0000
(18:47 +0000)
committer
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Thu, 7 Oct 2010 18:47:10 +0000
(18:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115952
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 c043554b321b476384cea45188a8dd35127916a7..dfe73dcd9ef7e1eaf7ff622e2aca3bf359eaf99f 100644
(file)
--- a/
lib/Target/X86/X86RegisterInfo.cpp
+++ b/
lib/Target/X86/X86RegisterInfo.cpp
@@
-274,7
+274,7
@@
X86RegisterInfo::getMatchingSuperRegClass(const TargetRegisterClass *A,
if (A->getSize() == 8)
return A;
} else if (B == &X86::GR32_NOSPRegClass) {
- if (A == &X86::GR64RegClass || &X86::GR64_NOSPRegClass)
+ if (A == &X86::GR64RegClass ||
A ==
&X86::GR64_NOSPRegClass)
return &X86::GR64_NOSPRegClass;
if (A->getSize() == 8)
return getCommonSubClass(A, &X86::GR64_NOSPRegClass);