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 {
1651
1651
auto AccI = AccSVT.SimpleTy ;
1652
1652
auto InputI = InputSVT.SimpleTy ;
1653
1653
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;
1655
1658
}
1656
1659
1657
1660
// / 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() {
835
835
setOperationAction (ISD::GET_FPENV, VT, Expand);
836
836
setOperationAction (ISD::SET_FPENV, VT, Expand);
837
837
setOperationAction (ISD::RESET_FPENV, VT, Expand);
838
-
839
- for (MVT InputVT : MVT::all_valuetypes ())
840
- setPartialReduceMLAAction (VT, InputVT, Expand);
841
838
}
842
839
843
840
// Most targets ignore the @llvm.prefetch intrinsic.
You can’t perform that action at this time.
0 commit comments