Fix PR861

llvm-svn: 29796
This commit is contained in:
Chris Lattner 2006-08-21 20:24:53 +00:00
parent e7134c5f69
commit 451b099113
1 changed files with 1 additions and 0 deletions

View File

@ -1502,6 +1502,7 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
SDOperand Lo, Hi;
ExpandOp(Tmp2, Lo, Hi);
Result = DAG.getNode(ISD::RET, MVT::Other, Tmp1, Lo, Tmp3, Hi, Tmp3);
Result = LegalizeOp(Result);
} else {
SDNode *InVal = Tmp2.Val;
unsigned NumElems =