Fix a -Wsign-compare

llvm-svn: 339059
This commit is contained in:
Reid Kleckner 2018-08-06 21:26:47 +00:00
parent 21858a9b63
commit 5327805d7c
1 changed files with 1 additions and 1 deletions

View File

@ -1407,7 +1407,7 @@ bool RegisterCoalescer::reMaterializeTrivialDef(const CoalescerPair &CP,
if (ToBeUpdated.count(SrcReg))
return true;
long NumCopyUses = 0;
unsigned NumCopyUses = 0;
for (MachineOperand &UseMO : MRI->use_nodbg_operands(SrcReg)) {
if (UseMO.getParent()->isCopyLike())
NumCopyUses++;