[PATCH] D46384: Reapply "[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
Thu May 3 07:06:59 PDT 2018


bjope updated this revision to Diff 145009.
bjope added a comment.

Updated to handle more situations (when the original fragment is so small, so we do not even need to use all parts of the split phi node).
Since we now need to be aware about the size of the old fragment at the call to createFragmentExpression I decided to adjust the size already at the caller and not inside createFragmentExpression.


Repository:
  rL LLVM

https://reviews.llvm.org/D46384

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46384.145009.patch
Type: text/x-patch
Size: 18107 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180503/852be22e/attachment.bin>


More information about the llvm-commits mailing list