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

Wolfgang Pieb via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 3 13:26:38 PST 2015


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

Adressed review comment on default SDLoc() in getNodeIfExists(). This routine is used in an attempt to take advantage of existing commutative binary nodes by the DAG combiner. No reason to not update the debug location if the node is reused.


http://reviews.llvm.org/D12094

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12094.41795.patch
Type: text/x-patch
Size: 17821 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151203/1a00caa4/attachment.bin>


More information about the llvm-commits mailing list