aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-05-23 22:04:42 +0000
committerDevang Patel <dpatel@apple.com>2011-05-23 22:04:42 +0000
commitefec7715ec419c4f48f6d0416ace8045603637a0 (patch)
treead3d1299cb38c9abf03eca7d97d77626142091e3 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parenta542f1009258fb9ca614c40f3d7892c941a589e2 (diff)
downloadllvm-efec7715ec419c4f48f6d0416ace8045603637a0.zip
llvm-efec7715ec419c4f48f6d0416ace8045603637a0.tar.gz
llvm-efec7715ec419c4f48f6d0416ace8045603637a0.tar.bz2
Revert 121907 (it causes llc crash) and apply original patch from PR9817.
llvm-svn: 131926
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 7e4c12b..dd33205 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -5150,9 +5150,6 @@ void SelectionDAG::ReplaceAllUsesWith(SDValue FromN, SDValue To,
"Cannot replace with this method!");
assert(From != To.getNode() && "Cannot replace uses of with self");
- // Transfer debug values.
- TransferDbgValues(FromN, To);
-
// Iterate over all the existing uses of From. New uses will be added
// to the beginning of the use list, which we avoid visiting.
// This specifically avoids visiting uses of From that arise while the