Skip to content

Commit e6e5017

Browse files
[CodeGen] Use llvm::lower_bound (NFC) (#139655)
1 parent 510c8a2 commit e6e5017

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,8 +486,7 @@ class TransferTracker {
486486

487487
// Is there a variable that wants a location for this value? If not, skip.
488488
ValueLocPair Probe(VNum, LocationAndQuality());
489-
auto VIt = std::lower_bound(ValueToLoc.begin(), ValueToLoc.end(), Probe,
490-
ValueToLocSort);
489+
auto VIt = llvm::lower_bound(ValueToLoc, Probe, ValueToLocSort);
491490
if (VIt == ValueToLoc.end() || VIt->first != VNum)
492491
continue;
493492

0 commit comments

Comments
 (0)