Another typo

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25440 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2006-01-19 04:54:52 +00:00
parent 3cda14ff3e
commit 12f2274ba8

View File

@ -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;