make sure to relegalize all cases

llvm-svn: 24911
This commit is contained in:
Chris Lattner 2005-12-21 19:40:42 +00:00
parent 44c07ed61a
commit 0fab459362
1 changed files with 1 additions and 1 deletions

View File

@ -1036,9 +1036,9 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
Result = DAG.getNode(ISD::BRCOND, MVT::Other, Tmp1, Tmp2,
Node->getOperand(4));
Result = DAG.getNode(ISD::BR, MVT::Other, Result, Node->getOperand(5));
Result = LegalizeOp(Result); // Relegalize new nodes.
break;
}
Result = LegalizeOp(Result); // Relegalize new nodes.
}
break;
case ISD::LOAD: