1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

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 079443691c
commit 6364b03742

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: