@@ -1639,25 +1639,6 @@ class TargetLoweringBase {
16391639 getCondCodeAction (CC, VT) == Custom;
16401640 }
16411641
1642- // / Return how a PARTIAL_REDUCE_U/SMLA node with Acc type AccVT and Input type
1643- // / InputVT should be treated. Either it's legal, needs to be promoted to a
1644- // / larger size, needs to be expanded to some other code sequence, or the
1645- // / target has a custom expander for it.
1646- LegalizeAction getPartialReduceMLAAction (EVT AccVT, EVT InputVT) const {
1647- unsigned AccI = (unsigned )AccVT.getSimpleVT ().SimpleTy ;
1648- unsigned InputI = (unsigned )InputVT.getSimpleVT ().SimpleTy ;
1649- assert (AccI < MVT::VALUETYPE_SIZE && InputI < MVT::VALUETYPE_SIZE &&
1650- " Table isn't big enough!" );
1651- return PartialReduceMLAActions[AccI][InputI];
1652- }
1653-
1654- // / Return true if a PARTIAL_REDUCE_U/SMLA node with the specified types is
1655- // / legal or custom for this target.
1656- bool isPartialReduceMLALegalOrCustom (EVT AccVT, EVT InputVT) const {
1657- return getPartialReduceMLAAction (AccVT, InputVT) == Legal ||
1658- getPartialReduceMLAAction (AccVT, InputVT) == Custom;
1659- }
1660-
16611642 // / If the action for this operation is to promote, this method returns the
16621643 // / ValueType to promote to.
16631644 MVT getTypeToPromoteTo (unsigned Op, MVT VT) const {
@@ -2723,16 +2704,6 @@ class TargetLoweringBase {
27232704 setCondCodeAction (CCs, VT, Action);
27242705 }
27252706
2726- // / Indicate how a PARTIAL_REDUCE_U/SMLA node with Acc type AccVT and Input
2727- // / type InputVT should be treated by the target. Either it's legal, needs to
2728- // / be promoted to a larger size, needs to be expanded to some other code
2729- // / sequence, or the target has a custom expander for it.
2730- void setPartialReduceMLAAction (MVT AccVT, MVT InputVT,
2731- LegalizeAction Action) {
2732- assert (AccVT.isValid () && InputVT.isValid () && " Table isn't big enough!" );
2733- PartialReduceMLAActions[AccVT.SimpleTy ][InputVT.SimpleTy ] = Action;
2734- }
2735-
27362707 // / If Opc/OrigVT is specified as being promoted, the promotion code defaults
27372708 // / to trying a larger integer/fp until it can find one that works. If that
27382709 // / default is insufficient, this method can be used by the target to override
@@ -3679,12 +3650,6 @@ class TargetLoweringBase {
36793650 // / up the MVT::VALUETYPE_SIZE value to the next multiple of 8.
36803651 uint32_t CondCodeActions[ISD::SETCC_INVALID][(MVT::VALUETYPE_SIZE + 7 ) / 8 ];
36813652
3682- // / For each result type and input type for the ISD::PARTIAL_REDUCE_U/SMLA
3683- // / nodes, keep a LegalizeAction which indicates how instruction selection
3684- // / should deal with this operation.
3685- LegalizeAction PartialReduceMLAActions[MVT::VALUETYPE_SIZE]
3686- [MVT::VALUETYPE_SIZE];
3687-
36883653 ValueTypeActionImpl ValueTypeActions;
36893654
36903655private:
0 commit comments