Fix DbgValue handling in SelectionDAG.
authorNirav Dave <niravd@google.com>
Thu, 28 Jul 2016 19:48:39 +0000 (19:48 +0000)
committerNirav Dave <niravd@google.com>
Thu, 28 Jul 2016 19:48:39 +0000 (19:48 +0000)
commitb7c72717c92e3d7260bfe8aebc110971b32bf097
treeafafae27f614b8b33975392af5156d9d268c466a
parent6c9dbbd661b9b9dacc16e8c3ba987089b50adda7
Fix DbgValue handling in SelectionDAG.

[DAG] Relocate TransferDbgValues in ReplaceAllUsesWith(SDValue, SDValue)
to before we modify the CSE maps.

llvm-svn: 277027
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp