[PATCH] D144800: [DebugInfo] Remove `dbg.addr` from CodeGen r=Orlando,StephenTozer,probinson,rnk

J. Ryan Stinnett via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 25 16:13:52 PST 2023


jryans created this revision.
jryans added reviewers: Orlando, StephenTozer, probinson, rnk.
Herald added a subscriber: hiraditya.
Herald added a project: All.
jryans requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

As part of this work, removing `SDDbgValue::clearIsEmitted` originally added for
`dbg.addr` in 045c67769d7fe577fc38cccb6fb40fd814437447 was attempted, but it
appears some tests for `DBG_INSTR_REF` now depend on that behaviour as well, so
it was kept and comments were updated instead.

Part of `dbg.addr` removal
Discussed in https://discourse.llvm.org/t/what-is-the-status-of-dbg-addr/62898

Depends on D144799 <https://reviews.llvm.org/D144799>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144800

Files:
  llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
  llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/test/DebugInfo/X86/dbg-addr-dse.ll
  llvm/test/DebugInfo/X86/dbg-addr.ll
  llvm/test/DebugInfo/X86/merge-equivalent-ranges.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144800.500467.patch
Type: text/x-patch
Size: 13368 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230226/5d026ab4/attachment.bin>


More information about the llvm-commits mailing list