aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-01-19 04:54:52 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-01-19 04:54:52 +0000
commit12f2274ba8c6af21e8b6c71ef872afe43a64b6d7 (patch)
tree53bb3161acd99bbab206b3c7c9b4f791f0aef36a
parent3cda14ff3e70a5124db396645b108be51ebb31af (diff)
downloadexternal_llvm-12f2274ba8c6af21e8b6c71ef872afe43a64b6d7.zip
external_llvm-12f2274ba8c6af21e8b6c71ef872afe43a64b6d7.tar.gz
external_llvm-12f2274ba8c6af21e8b6c71ef872afe43a64b6d7.tar.bz2
Another typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25440 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 6d14c6a..2cb6be5 100644
--- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -2082,7 +2082,7 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
Tmp2 = LegalizeOp(Tmp.getValue(i));
AddLegalizedOperand(SDOperand(Node, i), Tmp2);
if (i == Op.ResNo)
- RetVal = Tmp;
+ RetVal = Tmp2;
}
assert(RetVal.Val && "Illegal result number");
return RetVal;