aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
diff options
context:
space:
mode:
authorJeremy Morse <jeremy.morse@sony.com>2021-08-16 15:28:56 +0100
committerJeremy Morse <jeremy.morse@sony.com>2021-08-16 15:29:43 +0100
commit547b712500e9bbe2b4184ff3eedd5f5b6a29523b (patch)
tree373feee5731ed8042363bad1e08081c0f70da76d /llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
parent2d3668c997faac1f64cd3b8eb336af989069d135 (diff)
downloadllvm-547b712500e9bbe2b4184ff3eedd5f5b6a29523b.zip
llvm-547b712500e9bbe2b4184ff3eedd5f5b6a29523b.tar.gz
llvm-547b712500e9bbe2b4184ff3eedd5f5b6a29523b.tar.bz2
Suppress signedness-comparison warning
This is a follow-up to 54a61c94f93.
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
index a653c0a..3018e98 100644
--- a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
+++ b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
@@ -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