[PATCH] D105279: [RemoveRedundantDebugValues] Introduce a MIR pass that removes redundant DBG_VALUEs

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 8 12:44:51 PDT 2021


aprantl added a comment.

You probably also considered adding this functionality to MIBuilder or LiveDebugVariables itself, to avoid inserting duplicates in the first place. Would that be possible, or is there no good place in the existing code where we could add this to?



================
Comment at: llvm/test/DebugInfo/NVPTX/debug-loc-offset.ll:250
+; CHECK-NEXT: .b8 0                                // EOM(2)
+; CHECK-NEXT: .b8 8                                // Abbreviation Code
 ; CHECK-NEXT: .b8 36                               // DW_TAG_base_type
----------------
Why did this change, is it because the order in which the DBG_VALUEs are processed is different now?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105279/new/

https://reviews.llvm.org/D105279



More information about the llvm-commits mailing list