mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Silence warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103508 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f6d8481ada
commit
8e8b3cb937
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user