// Perform the larger operation, then round down.
Result = DAG.getNode(ISD::SELECT, NVT, Tmp1, Tmp2,Tmp3);
Result = DAG.getNode(TruncOp, Node->getValueType(0), Result);
+ Result = LegalizeOp(Result);
break;
}
}
Result = DAG.getNode(ISD::SETCC, Node->getValueType(0), Tmp1, Tmp2,
Node->getOperand(2));
+ Result = LegalizeOp(Result);
break;
}
case TargetLowering::Custom: {
Tmp1 = DAG.getNode(ISD::BSWAP, NVT, Tmp1);
Result = DAG.getNode(ISD::SRL, NVT, Tmp1,
DAG.getConstant(DiffBits, TLI.getShiftAmountTy()));
+ Result = LegalizeOp(Result);
break;
}
case TargetLowering::Custom:
break;
}
}
+ Result = LegalizeOp(Result);
break;
}
}
getSizeInBits(OVT), NVT));
break;
}
+ Result = LegalizeOp(Result);
break;
}
case TargetLowering::Custom:
DAG.getNode(ISD::SRL, VT, Tmp1, Tmp3),
Tmp2));
}
- Result = Tmp1;
+ Result = LegalizeOp(Tmp1);
break;
}
case ISD::CTLZ: {