[PATCH] D88898: [DebugInfo][InstrRef][4/4] Support using DBG_INSTR_REF through all* backend passes

Jeremy Morse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 6 03:11:06 PDT 2021


jmorse updated this revision to Diff 356651.
jmorse marked 3 inline comments as done.
jmorse added a comment.

Revisions:

- Adjusted LiveDebugVariables to handle DBG_VALUE_LISTs in the "normal" way under instruction referencing, we don't attempt currently handle them with instr-ref right now
- Fixed up an "isIndirect" issue, see inline comments
- Added a test for SUB -> CMP peephole optimisation.


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

https://reviews.llvm.org/D88898

Files:
  llvm/lib/CodeGen/LiveDebugVariables.cpp
  llvm/lib/CodeGen/MachineSink.cpp
  llvm/lib/CodeGen/RegisterPressure.cpp
  llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/lib/Target/X86/X86InstrInfo.cpp
  llvm/test/DebugInfo/MIR/InstrRef/phi-coalesce-subreg.mir
  llvm/test/DebugInfo/MIR/InstrRef/phi-coalescing.mir
  llvm/test/DebugInfo/MIR/InstrRef/phi-regallocd-to-stack.mir
  llvm/test/DebugInfo/MIR/InstrRef/phi-through-regalloc.mir
  llvm/test/DebugInfo/MIR/InstrRef/x86-drop-compare-inst.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88898.356651.patch
Type: text/x-patch
Size: 28214 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210706/f697e188/attachment.bin>


More information about the llvm-commits mailing list