[all-commits] [llvm/llvm-project] f911c3: [DebugInfo] Adjust x86 location-list tests for ins...

Jeremy Morse via All-commits all-commits at lists.llvm.org
Wed Nov 24 04:31:12 PST 2021


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

  Changed paths:
    M llvm/test/DebugInfo/COFF/pieces.ll
    M llvm/test/DebugInfo/COFF/register-variables.ll
    M llvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-4.ll
    M llvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-5.ll
    M llvm/test/DebugInfo/X86/live-debug-values-remove-range.ll
    M llvm/test/DebugInfo/X86/pieces-3.ll
    M llvm/test/DebugInfo/X86/sdag-combine.ll
    M llvm/test/DebugInfo/X86/spill-nospill.ll

  Log Message:
  -----------
  [DebugInfo] Adjust x86 location-list tests for instruction referencing

This patch updates location lists in various x86 tests to reflect what
instruction referencing produces. There are two flavours of change:
 * Not following a register copy immediately, because instruction
   referencing can make some slightly smarter decisions,
 * Extended ranges, due to having additional information.

The register changes aren't that interesting, it's just a choice between
equally legitimate registers that instr-ref does differently. The extended
ranges are largely due to following stack restores better.

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




More information about the All-commits mailing list