Oh yeah, this is needed too

llvm-svn: 30407
This commit is contained in:
Chris Lattner 2006-09-16 05:08:34 +00:00
parent 63b113f68c
commit e50f5d1fb1
1 changed files with 3 additions and 3 deletions

View File

@ -4695,9 +4695,9 @@ void SelectionDAGLegalize::ExpandOp(SDOperand Op, SDOperand &Lo, SDOperand &Hi){
case ISD::MUL: {
// If the target wants to custom expand this, let them.
if (TLI.getOperationAction(ISD::MUL, VT) == TargetLowering::Custom) {
Op = TLI.LowerOperation(Op, DAG);
if (Op.Val) {
ExpandOp(Op, Lo, Hi);
SDOperand New = TLI.LowerOperation(Op, DAG);
if (New.Val) {
ExpandOp(New, Lo, Hi);
break;
}
}