[PATCH] D78135: [MachineDebugify] Insert synthetic DBG_VALUE instructions

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 14 17:58:49 PDT 2020


vsk updated this revision to Diff 257576.
vsk added a comment.

Cover each non-phi reg def with a DBG_VALUE, per Daniel's suggestion.

I thought I fixed the last CodeGen-difference-with-debug bug in the AArch64 backend with D78157 <https://reviews.llvm.org/D78157>, but with this change, I've found a few more :).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78135/new/

https://reviews.llvm.org/D78135

Files:
  llvm/lib/CodeGen/MachineDebugify.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/legalize-phi-insertpt-decrement.mir
  llvm/test/CodeGen/Generic/MIRDebugify/locations-and-values.mir
  llvm/test/CodeGen/Generic/MIRDebugify/locations.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78135.257576.patch
Type: text/x-patch
Size: 6635 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200415/3da740b9/attachment.bin>


More information about the llvm-commits mailing list