[PATCH] D114362: [DebugInfo][4/N] Adjust x86 location-list tests for instruction referencing

Jeremy Morse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 22 05:11:00 PST 2021


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

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114362

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114362.388549.patch
Type: text/x-patch
Size: 14817 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211122/a26243bb/attachment.bin>


More information about the llvm-commits mailing list