mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-04 10:04:33 +00:00
Use convenience function for consistency.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150457 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3eccaa6625
commit
cd339b71ff
@ -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
Block a user