File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1651,7 +1651,10 @@ class TargetLoweringBase {
16511651 auto AccI = AccSVT.SimpleTy ;
16521652 auto InputI = InputSVT.SimpleTy ;
16531653 PartialReduceActionTypes TypePair = std::make_pair (AccI, InputI);
1654- return PartialReduceMLAActions.lookup (TypePair);
1654+ auto It = PartialReduceMLAActions.find (TypePair);
1655+ if (It != PartialReduceMLAActions.end ())
1656+ return It->second ;
1657+ return Expand;
16551658 }
16561659
16571660 // / Return true if a PARTIAL_REDUCE_U/SMLA node with the specified types is
Original file line number Diff line number Diff line change @@ -835,9 +835,6 @@ void TargetLoweringBase::initActions() {
835835 setOperationAction (ISD::GET_FPENV, VT, Expand);
836836 setOperationAction (ISD::SET_FPENV, VT, Expand);
837837 setOperationAction (ISD::RESET_FPENV, VT, Expand);
838-
839- for (MVT InputVT : MVT::all_valuetypes ())
840- setPartialReduceMLAAction (VT, InputVT, Expand);
841838 }
842839
843840 // Most targets ignore the @llvm.prefetch intrinsic.
You can’t perform that action at this time.
0 commit comments