forked from OSchip/llvm-project
Use convenience function for consistency.
llvm-svn: 150457
This commit is contained in:
parent
914c7e62e8
commit
3365179018
|
@ -994,8 +994,7 @@ unsigned LiveIntervals::getReMatImplicitUse(const LiveInterval &li,
|
|||
if (Reg == 0 || Reg == li.reg)
|
||||
continue;
|
||||
|
||||
if (TargetRegisterInfo::isPhysicalRegister(Reg) &&
|
||||
!allocatableRegs_[Reg])
|
||||
if (TargetRegisterInfo::isPhysicalRegister(Reg) && !isAllocatable(Reg))
|
||||
continue;
|
||||
RegOp = MO.getReg();
|
||||
break; // Found vreg operand - leave the loop.
|
||||
|
|
Loading…
Reference in New Issue