Skip to content

Commit

Permalink
Suppress signedness-comparison warning
Browse files Browse the repository at this point in the history
This is a follow-up to 54a61c9.
  • Loading branch information
jmorse committed Aug 16, 2021
1 parent 2d3668c commit 547b712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
Expand Up @@ -3653,7 +3653,7 @@ bool InstrRefBasedLDV::ExtendRanges(MachineFunction &MF, TargetPassConfig *TPC,
// If we have an extremely large number of variable assignments and blocks,
// bail out at this point. We've burnt some time doing analysis already,
// however we should cut our losses.
if (MaxNumBlocks > InputBBLimit && VarAssignCount > InputDbgValLimit) {
if (MaxNumBlocks > (int)InputBBLimit && VarAssignCount > InputDbgValLimit) {
LLVM_DEBUG(dbgs() << "Disabling InstrRefBasedLDV: " << MF.getName()
<< " has " << MaxNumBlocks << " basic blocks and "
<< VarAssignCount
Expand Down

0 comments on commit 547b712

Please sign in to comment.