[llvm] [DebugInfo] Suppress lots of users of DbgValueInst (PR #149476)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 18 01:51:52 PDT 2025
================
@@ -9065,15 +9023,8 @@ bool CodeGenPrepare::placeDbgValues(Function &F) {
for (BasicBlock &BB : F) {
for (Instruction &Insn : llvm::make_early_inc_range(BB)) {
- // Process dbg.value intrinsics.
- DbgValueInst *DVI = dyn_cast<DbgValueInst>(&Insn);
- if (DVI) {
- DbgProcessor(DVI, DVI);
- continue;
- }
-
- // If this isn't a dbg.value, process any attached DbgVariableRecord
- // records attached to this instruction.
+ // Process any attached DbgVariableRecord records attached to this
----------------
nikic wrote:
```suggestion
// Process any DbgVariableRecord records attached to this
```
Double attached :)
https://github.com/llvm/llvm-project/pull/149476
More information about the llvm-commits
mailing list