[PATCH] D114262: [DebugInfo][3/N] Instruction referencing tests: add extra instr-ref mode lines to several tests

Jeremy Morse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 19 09:57:19 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.

In these test updates for instruction referencing, I've added specific instruction-referencing modes, and kept the DBG_VALUE-based variable location check lines. This is because argument handling is really fiddly, and I figured it's worth duplicating the testing to ensure it's definitely correct. There's also (dbg-value-superreg-copy2.mir) a test for where variable locations go when virtual registers are coalesced together. I don't think there's an instruction referencing specific test for this, so figured that's worth duplicating too.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114262

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114262.388547.patch
Type: text/x-patch
Size: 14351 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211119/3435d005/attachment.bin>


More information about the llvm-commits mailing list