[llvm] [BasicBlockUtils] Remove redundant llvm.dbg instructions after blocks to reduce compile time (PR #89069)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 22 05:22:15 PDT 2024
================
@@ -333,6 +333,10 @@ bool llvm::MergeBlockIntoPredecessor(BasicBlock *BB, DomTreeUpdater *DTU,
// Finally, erase the old block and update dominator info.
DeleteDeadBlock(BB, DTU);
+ // Remove redundant "llvm.dbg" instrunctions after blocks merged.
----------------
coderchenlin wrote:
Thanks, the advice is acceptable, and the comment has been modified.
https://github.com/llvm/llvm-project/pull/89069
More information about the llvm-commits
mailing list