mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 02:29:18 +00:00
Fix obvious mistake pointed out by Michael Spencer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115952 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
452a9fdf54
commit
8456c4f957
@ -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…
Reference in New Issue
Block a user