[llvm] [NFC] Move RemoveRedundantDbgInstrs outside of inner loop in JumpThreading (PR #123008)

Stephen Tozer via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 17 06:18:51 PST 2025


================
@@ -377,6 +371,13 @@ bool JumpThreadingPass::runImpl(Function &F_, FunctionAnalysisManager *FAM_,
     EverChanged |= Changed;
   } while (Changed);
 
+  // Jump threading may have introduced redundant debug values into BB which
----------------
SLTozer wrote:

```suggestion
  // Jump threading may have introduced redundant debug values into F which
```

https://github.com/llvm/llvm-project/pull/123008


More information about the llvm-commits mailing list