Silence warning

llvm-svn: 103508
This commit is contained in:
Jakob Stoklund Olesen 2010-05-11 20:51:04 +00:00
parent 508f661fbe
commit f25be99109
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ void MachineRegisterInfo::closePhysRegsUsed(const TargetRegisterInfo &TRI) {
i = UsedPhysRegs.find_next(i))
for (const unsigned *SS = TRI.getSubRegisters(i);
unsigned SubReg = *SS; ++SS)
if (SubReg > i)
if (SubReg > unsigned(i))
UsedPhysRegs.set(SubReg);
}