aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-05-16 23:53:20 -0700
committerGitHub <noreply@github.com>2025-05-16 23:53:20 -0700
commite1cee35546c91a4ec1df87827f4ef996fa21a35f (patch)
tree448c283ad384153e940d759ce6ef56345de62933 /llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
parent0153b49f32c251ac34a478815f81c92975529b5d (diff)
downloadllvm-e1cee35546c91a4ec1df87827f4ef996fa21a35f.zip
llvm-e1cee35546c91a4ec1df87827f4ef996fa21a35f.tar.gz
llvm-e1cee35546c91a4ec1df87827f4ef996fa21a35f.tar.bz2
[CodeGen] Use llvm::lower_bound (NFC) (#140341)
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
index 0ff0e7d..a1fd5a7 100644
--- a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
+++ b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
@@ -386,8 +386,8 @@ public:
// for it. Use an empty ValueLocPair to search for an entry in ValueToLoc.
const ValueIDNum &Num = Op.ID;
ValueLocPair Probe(Num, LocationAndQuality());
- auto ValuesPreferredLoc = std::lower_bound(
- ValueToLoc.begin(), ValueToLoc.end(), Probe, ValueToLocSort);
+ auto ValuesPreferredLoc =
+ llvm::lower_bound(ValueToLoc, Probe, ValueToLocSort);
// There must be a legitimate entry found for Num.
assert(ValuesPreferredLoc != ValueToLoc.end() &&