mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-31 09:11:13 +00: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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42969 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e5e0194583
commit
fb5b11046b
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user