1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 12:02:58 +02:00

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

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

llvm-svn: 42969
This commit is contained in:
Chris Lattner 2007-10-14 18:35:05 +00:00
parent 1463947f03
commit ac17bf4c0f

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.