diff options
author | J. Ryan Stinnett <jryans@gmail.com> | 2023-02-25 20:59:04 +0000 |
---|---|---|
committer | J. Ryan Stinnett <jryans@gmail.com> | 2023-03-02 09:29:43 +0000 |
commit | 0bbe6040befa0b3debd81526a17cc15361e09f27 (patch) | |
tree | 087ca1a580e3aa9e3430d6b2901e00842a17c5fd /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | |
parent | ede0fbb19ae4cadb22f0d888e9cffb243c4fdcc4 (diff) | |
download | llvm-0bbe6040befa0b3debd81526a17cc15361e09f27.zip llvm-0bbe6040befa0b3debd81526a17cc15361e09f27.tar.gz llvm-0bbe6040befa0b3debd81526a17cc15361e09f27.tar.bz2 |
[DebugInfo] Remove `dbg.addr` from Transforms
Part of `dbg.addr` removal
Discussed in https://discourse.llvm.org/t/what-is-the-status-of-dbg-addr/62898
Differential Revision: https://reviews.llvm.org/D144797
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp b/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp index 58a226f..0dd3857 100644 --- a/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp +++ b/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp @@ -379,8 +379,8 @@ bool llvm::MergeBlockSuccessorsIntoGivenBlocks( /// /// Possible improvements: /// - Check fully overlapping fragments and not only identical fragments. -/// - Support dbg.addr, dbg.declare. dbg.label, and possibly other meta -/// instructions being part of the sequence of consecutive instructions. +/// - Support dbg.declare. dbg.label, and possibly other meta instructions being +/// part of the sequence of consecutive instructions. static bool removeRedundantDbgInstrsUsingBackwardScan(BasicBlock *BB) { SmallVector<DbgValueInst *, 8> ToBeRemoved; SmallDenseSet<DebugVariable> VariableSet; |