Skip to content

Commit e1cee35

Browse files
[CodeGen] Use llvm::lower_bound (NFC) (#140341)
1 parent 0153b49 commit e1cee35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,8 +386,8 @@ class TransferTracker {
386386
// for it. Use an empty ValueLocPair to search for an entry in ValueToLoc.
387387
const ValueIDNum &Num = Op.ID;
388388
ValueLocPair Probe(Num, LocationAndQuality());
389-
auto ValuesPreferredLoc = std::lower_bound(
390-
ValueToLoc.begin(), ValueToLoc.end(), Probe, ValueToLocSort);
389+
auto ValuesPreferredLoc =
390+
llvm::lower_bound(ValueToLoc, Probe, ValueToLocSort);
391391

392392
// There must be a legitimate entry found for Num.
393393
assert(ValuesPreferredLoc != ValueToLoc.end() &&

0 commit comments

Comments
 (0)