mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
Instead of enumerating each opcode that isn't handled that
ComputeMaskedBits handles, just use a 'default:'. This avoids TargetLowering's list getting out of date with SelectionDAG's. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50693 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -979,17 +979,7 @@ bool TargetLowering::SimplifyDemandedBits(SDOperand Op,
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
case ISD::ADD:
|
default:
|
||||||
case ISD::SUB:
|
|
||||||
case ISD::INTRINSIC_WO_CHAIN:
|
|
||||||
case ISD::INTRINSIC_W_CHAIN:
|
|
||||||
case ISD::INTRINSIC_VOID:
|
|
||||||
case ISD::CTTZ:
|
|
||||||
case ISD::CTLZ:
|
|
||||||
case ISD::CTPOP:
|
|
||||||
case ISD::LOAD:
|
|
||||||
case ISD::SETCC:
|
|
||||||
case ISD::FGETSIGN:
|
|
||||||
// Just use ComputeMaskedBits to compute output bits.
|
// Just use ComputeMaskedBits to compute output bits.
|
||||||
TLO.DAG.ComputeMaskedBits(Op, NewMask, KnownZero, KnownOne, Depth);
|
TLO.DAG.ComputeMaskedBits(Op, NewMask, KnownZero, KnownOne, Depth);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user