mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 19:29:31 +00:00
Eliminate MachineOperand::isPhysicalRegister. The X86 backend should use
MRegisterInfo::isPhysicalRegister(MO.getReg()) and the Sparc backend should use isMachineRegister() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11279 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3d878d80d6
commit
9f42dd5472
@ -229,10 +229,6 @@ public:
|
||||
return (opType == MO_VirtualRegister || opType == MO_MachineRegister)
|
||||
&& regNum >= MRegisterInfo::FirstVirtualRegister;
|
||||
}
|
||||
bool isPhysicalRegister() const {
|
||||
return (opType == MO_VirtualRegister || opType == MO_MachineRegister)
|
||||
&& (unsigned)regNum < MRegisterInfo::FirstVirtualRegister;
|
||||
}
|
||||
bool isRegister() const {
|
||||
return opType == MO_VirtualRegister || opType == MO_MachineRegister;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user