[PATCH] D46329: [SelectionDAG] Selection of DBG_VALUE using a PHI node result (pt 2)

Bjorn Pettersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 1 12:51:18 PDT 2018


bjope created this revision.
bjope added reviewers: rnk, aprantl, vsk.
bjope added a project: debug-info.

This is a follow up to https://reviews.llvm.org/rL331182. A PHI node can be split up into
several MIR PHI nodes when being selected. When there is a
dbg.value intrinsic that uses the result of such a PHI node we
need to select several DBG_VALUE instructions, with fragment
expressions, in order to do a correct selection.


Repository:
  rL LLVM

https://reviews.llvm.org/D46329

Files:
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  test/DebugInfo/X86/sdag-dbgvalue-phi-use-3.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46329.144767.patch
Type: text/x-patch
Size: 12128 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180501/ba99cac8/attachment-0001.bin>


More information about the llvm-commits mailing list