mirror of
https://github.com/RPCSX/llvm.git
synced 2025-03-03 18:37:56 +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:
parent
23e1df8b8d
commit
54eed37131
@ -979,17 +979,7 @@ bool TargetLowering::SimplifyDemandedBits(SDOperand Op,
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
case ISD::ADD:
|
||||
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:
|
||||
default:
|
||||
// Just use ComputeMaskedBits to compute output bits.
|
||||
TLO.DAG.ComputeMaskedBits(Op, NewMask, KnownZero, KnownOne, Depth);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user