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.
Paths
| Differential D40104
[SelectionDAG] Consolidate (t|T)ransferDbgValues methods, NFC. ClosedPublic Authored by vsk on Nov 15 2017, 2:59 PM.
Details
Summary TransferDbgValues (capital 'T') is wired into ReplaceAllUsesWith, and Both functions should be doing the exact same thing. This patch
Diff Detail
Event TimelineComment Actions good catch!
This revision is now accepted and ready to land.Nov 15 2017, 5:38 PM Closed by commit rL318448: [SelectionDAG] Consolidate (t|T)ransferDbgValues methods, NFC. (authored by vedantk). · Explain WhyNov 16 2017, 11:50 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 123227 llvm/trunk/include/llvm/CodeGen/SelectionDAG.h
llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
|