[PATCH] D12094: Avoid the propagation of debug locations in SelectionDAG via CSE

Wolfgang Pieb via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 20 17:56:21 PDT 2015


wolfgangp updated this revision to Diff 32779.
wolfgangp added a comment.

Thank you for your comments, Sergey. If find that if I outfit getIfExists() with a debugLoc() parameter and pass it through, the failure goes away, so I have revised the patch to update the node from within the FindNode helper, dispensing with the FilterDebugLoc() routine.  I've renamed the helper routine to reflect that it updates the node and took the liberty to adjust the comment a bit.


http://reviews.llvm.org/D12094

Files:
  include/llvm/CodeGen/SelectionDAG.h
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  test/DebugInfo/isel-cse-line.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12094.32779.patch
Type: text/x-patch
Size: 18742 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150821/6e9000d0/attachment.bin>


More information about the llvm-commits mailing list