mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-29 16:12:44 +00:00
Eliminate MachineOperand::isPhysicalRegister. The X86 backend should use
MRegisterInfo::isPhysicalRegister(MO.getReg()) and the Sparc backend should use isMachineRegister() llvm-svn: 11279
This commit is contained in:
parent
9d0a4e63b1
commit
04f36062ea
@ -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…
x
Reference in New Issue
Block a user