[PATCH] D48319: [DebugInfo] Make sure all DBG_VALUEs' reguse operands have IsDebug property

Jesper Antonsson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 19 05:45:35 PDT 2018


JesperAntonsson created this revision.
JesperAntonsson added reviewers: aprantl, rnk, echristo.
Herald added subscribers: atanasyan, JDevlieghere, nemanjai, sdardis, qcolombet.
Herald added a reviewer: javed.absar.

In some cases, these operands lacked the IsDebug property, which is meant to signal that
they should not affect codegen. This patch adds a check for this property in the 
MachineVerifier and adds it where it was missing.


Repository:
  rL LLVM

https://reviews.llvm.org/D48319

Files:
  lib/CodeGen/LiveDebugVariables.cpp
  lib/CodeGen/MachineVerifier.cpp
  lib/CodeGen/PrologEpilogInserter.cpp
  test/CodeGen/MIR/X86/diexpr-win32.mir
  test/CodeGen/PowerPC/debuginfo-stackarg.ll
  test/CodeGen/X86/post-ra-sched-with-debug.mir
  test/DebugInfo/MIR/AArch64/clobber-sp.mir
  test/DebugInfo/MIR/Mips/last-inst-bundled.mir
  test/DebugInfo/MIR/X86/kill-after-spill.mir
  test/DebugInfo/MIR/X86/live-debug-values-spill.mir
  test/DebugInfo/X86/bbjoin.ll
  test/DebugInfo/X86/pr34545.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48319.151897.patch
Type: text/x-patch
Size: 9767 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180619/8cdef5b3/attachment.bin>


More information about the llvm-commits mailing list