[all-commits] [llvm/llvm-project] 2191d5: [DebugInfo] Check both instr-ref and DBG_VALUE mod...

Jeremy Morse via All-commits all-commits at lists.llvm.org
Wed Nov 24 03:48:45 PST 2021


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

  Changed paths:
    A llvm/test/CodeGen/X86/dbg-value-superreg-copy2.mir
    M llvm/test/DebugInfo/X86/dbg-value-arg-movement.ll
    M llvm/test/DebugInfo/X86/dbg-value-funcarg.ll
    M llvm/test/DebugInfo/X86/dbg-value-funcarg2.ll
    M llvm/test/DebugInfo/X86/dbg-value-funcarg3.ll

  Log Message:
  -----------
  [DebugInfo] Check both instr-ref and DBG_VALUE modes of sdag tests

In these test updates for instruction referencing, I've added specific
instr-ref RUN lines, and kep thte DBG_VALUE-based variable location check
lines too. This is because argument handling is really fiddly, and I figure
it's worth duplicating the testing to ensure it's definitely correct.

There's also dbg-value-superreg-copy2.mir, a dtest for where varaible
locations go when virtual registers are coalesced together. I don't think
there's an instruction referencing specific test for this, so have
duplicated that to for instruction referencing.

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




More information about the All-commits mailing list