forked from OSchip/llvm-project
Simplify condition, this does not change the predicate at all though
llvm-svn: 11275
This commit is contained in:
parent
259e98ed27
commit
13d2f3bbc0
|
@ -233,7 +233,9 @@ public:
|
|||
return (opType == MO_VirtualRegister || opType == MO_MachineRegister)
|
||||
&& (unsigned)regNum < MRegisterInfo::FirstVirtualRegister;
|
||||
}
|
||||
bool isRegister() const { return isVirtualRegister() || isPhysicalRegister();}
|
||||
bool isRegister() const {
|
||||
return opType == MO_VirtualRegister || opType == MO_MachineRegister;
|
||||
}
|
||||
bool isMachineRegister() const { return !isVirtualRegister(); }
|
||||
bool isMachineBasicBlock() const { return opType == MO_MachineBasicBlock; }
|
||||
bool isPCRelativeDisp() const { return opType == MO_PCRelativeDisp; }
|
||||
|
|
Loading…
Reference in New Issue