mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-27 06:54:30 +00:00
Fix obvious mistake pointed out by Michael Spencer.
llvm-svn: 115952
This commit is contained in:
parent
af0fa37509
commit
7f38b44415
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user