If a target doesn't have HasMULHU or HasUMUL_LOHI, ExpandOp would return

without lo/hi set.  Fall through to making a libcall instead.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42969 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2007-10-14 18:35:05 +00:00
parent e5e0194583
commit fb5b11046b

View File

@ -5870,7 +5870,6 @@ void SelectionDAGLegalize::ExpandOp(SDOperand Op, SDOperand &Lo, SDOperand &Hi){
Hi = DAG.getNode(ISD::MULHU, NVT, LL, RL);
break;
}
break;
}
if (LHSSB > BitSize && RHSSB > BitSize) {
// The input values are both sign-extended.