[PATCH] D40104: [SelectionDAG] Consolidate (t|T)ransferDbgValues methods, NFC.

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 15 14:59:37 PST 2017


vsk created this revision.
vsk added a project: debug-info.

TransferDbgValues (capital 'T') is wired into ReplaceAllUsesWith, and
transferDbgValues (lowercase 't') is used elsewhere (e.g in Legalize).

Both functions should be doing the exact same thing. This patch
consolidates the logic into one place.


https://reviews.llvm.org/D40104

Files:
  include/llvm/CodeGen/SelectionDAG.h
  lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
  lib/CodeGen/SelectionDAG/SelectionDAG.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40104.123088.patch
Type: text/x-patch
Size: 6973 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171115/ebceebe6/attachment.bin>


More information about the llvm-commits mailing list