mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:50:30 +00:00
Use convenience function for consistency.
llvm-svn: 150457
This commit is contained in:
parent
7b2649a9ca
commit
724a5e8fe1
@ -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