[all-commits] [llvm/llvm-project] 32815b: [DebugInfo][InstrRef][NFC] Test changes: DBG_VALUE...

Jeremy Morse via All-commits all-commits at lists.llvm.org
Mon Nov 29 13:13:57 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 32815bc907c4bf25866545da93b00b5d6c2ce45f
      https://github.com/llvm/llvm-project/commit/32815bc907c4bf25866545da93b00b5d6c2ce45f
  Author: Jeremy Morse <jeremy.morse at sony.com>
  Date:   2021-11-29 (Mon, 29 Nov 2021)

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

  Log Message:
  -----------
  [DebugInfo][InstrRef][NFC] Test changes: DBG_VALUE to DBG_INSTR_REF

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.

To avoid a loss in test coverage of SelectionDAG, which is used by a lot
of different backends, all these tests now have two modes and sets of RUN
lines, one for DBG_VALUE mode, the other for instruction referencing.

Differential Revision: https://reviews.llvm.org/D114258




More information about the All-commits mailing list