forked from OSchip/llvm-project
parent
21858a9b63
commit
5327805d7c
|
@ -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++;
|
||||
|
|
Loading…
Reference in New Issue