forked from OSchip/llvm-project
Silencing a signed vs unsigned mismatch.
llvm-svn: 261640
This commit is contained in:
parent
d6d0454231
commit
8374c1f785
|
@ -653,7 +653,7 @@ PPCFrameLowering::findScratchRegister(MachineBasicBlock *MBB,
|
|||
|
||||
// Now that we've done our best to provide both registers, double check
|
||||
// whether we were unable to provide enough.
|
||||
if (BV.count() < (TwoUniqueRegsRequired ? 2 : 1))
|
||||
if (BV.count() < (TwoUniqueRegsRequired ? 2U : 1U))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue