summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-08-26 20:33:42 +0000
committerDevang Patel <dpatel@apple.com>2010-08-26 20:33:42 +0000
commit42b4ac7ed39b444f83fca214e0e5cfafab1f2893 (patch)
treeeef4f8af7461fcb22f0eef78e5fa2ed19159bcad /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
parent977057f481467aaa3893cf19caf593e2ac65ba87 (diff)
downloadbcm5719-llvm-42b4ac7ed39b444f83fca214e0e5cfafab1f2893.tar.gz
bcm5719-llvm-42b4ac7ed39b444f83fca214e0e5cfafab1f2893.zip
Speculatively revert r112207.
llvm-svn: 112216
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index c6dad81d838..b78a4fcac7e 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@ -924,9 +924,7 @@ SDValue SelectionDAGBuilder::getValue(const Value *V) {
unsigned InReg = It->second;
RegsForValue RFV(*DAG.getContext(), TLI, InReg, V->getType());
SDValue Chain = DAG.getEntryNode();
- N = RFV.getCopyFromRegs(DAG, FuncInfo, getCurDebugLoc(), Chain,NULL);
- resolveDanglingDebugInfo(V, N);
- return N;
+ return N = RFV.getCopyFromRegs(DAG, FuncInfo, getCurDebugLoc(), Chain,NULL);
}
// Otherwise create a new SDValue and remember it.
OpenPOWER on IntegriCloud