[llvm-commits] [llvm] r103508 - /llvm/trunk/lib/CodeGen/MachineRegisterInfo.cpp
Jakob Stoklund Olesen
stoklund at 2pi.dk
Tue May 11 13:51:04 PDT 2010
Author: stoklund
Date: Tue May 11 15:51:04 2010
New Revision: 103508
URL: http://llvm.org/viewvc/llvm-project?rev=103508&view=rev
Log:
Silence warning
Modified:
llvm/trunk/lib/CodeGen/MachineRegisterInfo.cpp
Modified: llvm/trunk/lib/CodeGen/MachineRegisterInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineRegisterInfo.cpp?rev=103508&r1=103507&r2=103508&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineRegisterInfo.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineRegisterInfo.cpp Tue May 11 15:51:04 2010
@@ -272,7 +272,7 @@
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);
}
More information about the llvm-commits
mailing list