mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-09 10:31:14 +00:00
Revert the assert for MUL_LOHI with an unused high result; Chris
pointed out that this isn't correct at -O0. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47575 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a7b33db5e9
commit
545914311a
@ -1221,9 +1221,6 @@ SDNode *X86DAGToDAGISel::Select(SDOperand N) {
|
||||
|
||||
case ISD::SMUL_LOHI:
|
||||
case ISD::UMUL_LOHI: {
|
||||
assert(!N.getValue(1).use_empty() &&
|
||||
"A MUL_LOHI with an unused high result should fold to a MUL!");
|
||||
|
||||
SDOperand N0 = Node->getOperand(0);
|
||||
SDOperand N1 = Node->getOperand(1);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user