[PATCH] D114258: [DebugInfo][1/N] Instruction referencing test changes: DBG_VALUE to DBG_INSTR_REF

Jeremy Morse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 19 09:48:02 PST 2021


jmorse created this revision.
jmorse added reviewers: StephenTozer, Orlando, TWeaver, djtodoro.
Herald added a subscriber: pengfei.
jmorse requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This is the first patch in a series of test updates, to change X86 tests to look for instruction referencing variable locations. This patch contains a bunch of replacements of:

  DBG_VALUE $somereg

with,

  SOMEINST debug-instr-number1
  DBG_INSTR_REF 1, 0, ...

It's mostly SelectionDAG tests that are making sure that the variable location assignment is placed in the correct position in the instructions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114258

Files:
  llvm/test/DebugInfo/X86/pr34545.ll
  llvm/test/DebugInfo/X86/pr40427.ll
  llvm/test/DebugInfo/X86/sdag-dangling-dbgvalue.ll
  llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-1.ll
  llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-2.ll
  llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-3.ll
  llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-4.ll
  llvm/test/DebugInfo/X86/sdag-dbgvalue-ssareg.ll
  llvm/test/DebugInfo/X86/sdag-ir-salvage.ll
  llvm/test/DebugInfo/X86/sdag-salvage-add.ll
  llvm/test/DebugInfo/X86/sdag-transfer-dbgvalue.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114258.388531.patch
Type: text/x-patch
Size: 21260 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211119/57fc463c/attachment.bin>


More information about the llvm-commits mailing list