[llvm] [DebugInfo][RemoveDIs] Add local-utility plumbing for DPValues (PR #72276)
Orlando Cazalet-Hyams via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 15 09:17:22 PST 2023
================
@@ -2391,6 +2688,8 @@ llvm::removeAllNonTerminatorAndEHPadInstructions(BasicBlock *BB) {
++NumDeadDbgInst;
else
++NumDeadInst;
+ // RemoveDIs: erasing debug-info must be done manually.
----------------
OCHyams wrote:
Do we need to `dropDbgValues` / `assert(has_no_dbg_values)` in the `if (Inst->isEHPad() || Inst->getType()->isTokenTy())` (outside the default context, above)?
https://github.com/llvm/llvm-project/pull/72276
More information about the llvm-commits
mailing list