aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorStephen Tozer <stephen.tozer@sony.com>2024-03-20 13:11:28 +0000
committerGitHub <noreply@github.com>2024-03-20 13:11:28 +0000
commitbdc77d1ecc9219dfc641aaaa4fb088233e9a32d1 (patch)
treef113a9a1bd70e885eb905667635ebf02cd79a96b /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parent6c1d4454ad00414cf20f9a69e04856de99f6bf1d (diff)
downloadllvm-bdc77d1ecc9219dfc641aaaa4fb088233e9a32d1.zip
llvm-bdc77d1ecc9219dfc641aaaa4fb088233e9a32d1.tar.gz
llvm-bdc77d1ecc9219dfc641aaaa4fb088233e9a32d1.tar.bz2
[RemoveDIs][NFC] Rename DPLabel->DbgLabelRecord (#85918)
This patch renames DPLabel to DbgLabelRecord, in accordance with the ongoing DbgRecord rename. This rename was fairly trivial, since DPLabel isn't as widely used as DPValue and has no real conflicts in either its full or abbreviated name. As usual, the entire replacement was done automatically, with `s/DPLabel/DbgLabelRecord/` and `s/DPL/DLR/`.
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/BasicBlockUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp b/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
index bf1de05..915cd81 100644
--- a/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
+++ b/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
@@ -388,7 +388,7 @@ DbgVariableRecordsRemoveRedundantDbgInstrsUsingBackwardScan(BasicBlock *BB) {
SmallDenseSet<DebugVariable> VariableSet;
for (auto &I : reverse(*BB)) {
for (DbgRecord &DR : reverse(I.getDbgRecordRange())) {
- if (isa<DPLabel>(DR)) {
+ if (isa<DbgLabelRecord>(DR)) {
// Emulate existing behaviour (see comment below for dbg.declares).
// FIXME: Don't do this.
VariableSet.clear();