[PATCH] D105280: [2/2][RemoveRedundantDebugValues] Introduce a MIR pass that removes redundant DBG_VALUEs
Stephen Tozer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 7 07:32:37 PDT 2021
StephenTozer added inline comments.
================
Comment at: llvm/lib/CodeGen/RemoveRedundantDebugValues.cpp:116
+ // Stop tracking any location that is clobbered by this instruction.
+ auto stopTrackingNonRedundantDbgVals = [&TRI, &MI, &VariableMap]() {
+ for (auto &Var : VariableMap) {
----------------
I may be missing something; is there a need for this to be lambda, since it looks like it's only invoked here?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105280/new/
https://reviews.llvm.org/D105280
More information about the llvm-commits
mailing list