[PATCH] D105279: [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 05:41:47 PDT 2021
StephenTozer added inline comments.
================
Comment at: llvm/lib/CodeGen/RemoveRedundantDebugValues.cpp:112
+
+// TODO: Support DBG_VALUE_LIST and other debug instructions.
+bool RemoveRedundantDebugValues::reduceDbgValues(MachineFunction &MF) {
----------------
DBG_VALUE_LIST looks like it's already supported by this pass; since you aren't touching the actual debug operands, the interface between the two is identical, and the call to `isDebugValue()` is true for `DBG_VALUE_LIST` as well.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105279/new/
https://reviews.llvm.org/D105279
More information about the llvm-commits
mailing list