@@ -197,7 +197,7 @@ SDValue DAGTypeLegalizer::SoftenFloatRes_Unary(SDNode *N, RTLIB::Libcall LC) {
197197  SDValue Chain = IsStrict ? N->getOperand (0 ) : SDValue ();
198198  TargetLowering::MakeLibCallOptions CallOptions;
199199  EVT OpVT = N->getOperand (0  + Offset).getValueType ();
200-   CallOptions.setTypeListBeforeSoften (OpVT, N->getValueType (0 ),  true );
200+   CallOptions.setTypeListBeforeSoften (OpVT, N->getValueType (0 ));
201201  std::pair<SDValue, SDValue> Tmp = TLI.makeLibCall (DAG, LC, NVT, Op,
202202                                                    CallOptions, SDLoc (N),
203203                                                    Chain);
@@ -218,7 +218,7 @@ SDValue DAGTypeLegalizer::SoftenFloatRes_Binary(SDNode *N, RTLIB::Libcall LC) {
218218  TargetLowering::MakeLibCallOptions CallOptions;
219219  EVT OpsVT[2 ] = { N->getOperand (0  + Offset).getValueType (),
220220                   N->getOperand (1  + Offset).getValueType () };
221-   CallOptions.setTypeListBeforeSoften (OpsVT, N->getValueType (0 ),  true );
221+   CallOptions.setTypeListBeforeSoften (OpsVT, N->getValueType (0 ));
222222  std::pair<SDValue, SDValue> Tmp = TLI.makeLibCall (DAG, LC, NVT, Ops,
223223                                                    CallOptions, SDLoc (N),
224224                                                    Chain);
@@ -558,7 +558,7 @@ SDValue DAGTypeLegalizer::SoftenFloatRes_FMA(SDNode *N) {
558558  EVT OpsVT[3 ] = { N->getOperand (0  + Offset).getValueType (),
559559                   N->getOperand (1  + Offset).getValueType (),
560560                   N->getOperand (2  + Offset).getValueType () };
561-   CallOptions.setTypeListBeforeSoften (OpsVT, N->getValueType (0 ),  true );
561+   CallOptions.setTypeListBeforeSoften (OpsVT, N->getValueType (0 ));
562562  std::pair<SDValue, SDValue> Tmp = TLI.makeLibCall (DAG,
563563                                                    GetFPLibCall (N->getValueType (0 ),
564564                                                                 RTLIB::FMA_F32,
@@ -642,7 +642,7 @@ SDValue DAGTypeLegalizer::SoftenFloatRes_FP_EXTEND(SDNode *N) {
642642  assert (LC != RTLIB::UNKNOWN_LIBCALL && " Unsupported FP_EXTEND!" 
643643  TargetLowering::MakeLibCallOptions CallOptions;
644644  EVT OpVT = N->getOperand (IsStrict ? 1  : 0 ).getValueType ();
645-   CallOptions.setTypeListBeforeSoften (OpVT, N->getValueType (0 ),  true );
645+   CallOptions.setTypeListBeforeSoften (OpVT, N->getValueType (0 ));
646646  std::pair<SDValue, SDValue> Tmp = TLI.makeLibCall (DAG, LC, NVT, Op,
647647                                                    CallOptions, SDLoc (N),
648648                                                    Chain);
@@ -658,7 +658,7 @@ SDValue DAGTypeLegalizer::SoftenFloatRes_FP16_TO_FP(SDNode *N) {
658658  SDValue Op = N->getOperand (0 );
659659  TargetLowering::MakeLibCallOptions CallOptions;
660660  EVT OpsVT[1 ] = { N->getOperand (0 ).getValueType () };
661-   CallOptions.setTypeListBeforeSoften (OpsVT, N->getValueType (0 ),  true );
661+   CallOptions.setTypeListBeforeSoften (OpsVT, N->getValueType (0 ));
662662  SDValue Res32 = TLI.makeLibCall (DAG, RTLIB::FPEXT_F16_F32, MidVT, Op,
663663                                  CallOptions, SDLoc (N)).first ;
664664  if  (N->getValueType (0 ) == MVT::f32 )
@@ -694,7 +694,7 @@ SDValue DAGTypeLegalizer::SoftenFloatRes_FP_ROUND(SDNode *N) {
694694  assert (LC != RTLIB::UNKNOWN_LIBCALL && " Unsupported FP_ROUND!" 
695695  TargetLowering::MakeLibCallOptions CallOptions;
696696  EVT OpVT = N->getOperand (IsStrict ? 1  : 0 ).getValueType ();
697-   CallOptions.setTypeListBeforeSoften (OpVT, N->getValueType (0 ),  true );
697+   CallOptions.setTypeListBeforeSoften (OpVT, N->getValueType (0 ));
698698  std::pair<SDValue, SDValue> Tmp = TLI.makeLibCall (DAG, LC, NVT, Op,
699699                                                    CallOptions, SDLoc (N),
700700                                                    Chain);
@@ -742,7 +742,7 @@ SDValue DAGTypeLegalizer::SoftenFloatRes_ExpOp(SDNode *N) {
742742  TargetLowering::MakeLibCallOptions CallOptions;
743743  EVT OpsVT[2 ] = { N->getOperand (0  + Offset).getValueType (),
744744                   N->getOperand (1  + Offset).getValueType () };
745-   CallOptions.setTypeListBeforeSoften (OpsVT, N->getValueType (0 ),  true );
745+   CallOptions.setTypeListBeforeSoften (OpsVT, N->getValueType (0 ));
746746  std::pair<SDValue, SDValue> Tmp = TLI.makeLibCall (DAG, LC, NVT, Ops,
747747                                                    CallOptions, SDLoc (N),
748748                                                    Chain);
@@ -779,7 +779,7 @@ SDValue DAGTypeLegalizer::SoftenFloatRes_FFREXP(SDNode *N) {
779779
780780  //  TODO: setTypeListBeforeSoften can't properly express multiple return types,
781781  //  but we only really need to handle the 0th one for softening anyway.
782-   CallOptions.setTypeListBeforeSoften ({OpsVT}, VT0,  true )
782+   CallOptions.setTypeListBeforeSoften ({OpsVT}, VT0)
783783      .setOpsTypeOverrides (CallOpsTypeOverrides);
784784
785785  auto  [ReturnVal, Chain] = TLI.makeLibCall (DAG, LC, NVT0, Ops, CallOptions, DL,
@@ -828,7 +828,7 @@ bool DAGTypeLegalizer::SoftenFloatRes_UnaryWithTwoFPResults(
828828  TargetLowering::MakeLibCallOptions CallOptions;
829829  //  TODO: setTypeListBeforeSoften can't properly express multiple return types,
830830  //  but since both returns have the same type it should be okay.
831-   CallOptions.setTypeListBeforeSoften ({OpsVT}, VT,  true )
831+   CallOptions.setTypeListBeforeSoften ({OpsVT}, VT)
832832      .setOpsTypeOverrides (CallOpsTypeOverrides);
833833
834834  auto  [ReturnVal, Chain] = TLI.makeLibCall (DAG, LC, NVT, Ops, CallOptions, DL,
@@ -1100,7 +1100,7 @@ SDValue DAGTypeLegalizer::SoftenFloatRes_XINT_TO_FP(SDNode *N) {
11001100                           NVT, N->getOperand (IsStrict ? 1  : 0 ));
11011101  TargetLowering::MakeLibCallOptions CallOptions;
11021102  CallOptions.setIsSigned (Signed);
1103-   CallOptions.setTypeListBeforeSoften (SVT, RVT,  true );
1103+   CallOptions.setTypeListBeforeSoften (SVT, RVT);
11041104  std::pair<SDValue, SDValue> Tmp =
11051105      TLI.makeLibCall (DAG, LC, TLI.getTypeToTransformTo (*DAG.getContext (), RVT),
11061106                      Op, CallOptions, dl, Chain);
@@ -1222,7 +1222,7 @@ SDValue DAGTypeLegalizer::SoftenFloatOp_FP_ROUND(SDNode *N) {
12221222  SDValue Chain = IsStrict ? N->getOperand (0 ) : SDValue ();
12231223  Op = GetSoftenedFloat (Op);
12241224  TargetLowering::MakeLibCallOptions CallOptions;
1225-   CallOptions.setTypeListBeforeSoften (SVT, RVT,  true );
1225+   CallOptions.setTypeListBeforeSoften (SVT, RVT);
12261226  std::pair<SDValue, SDValue> Tmp = TLI.makeLibCall (DAG, LC, RVT, Op,
12271227                                                    CallOptions, SDLoc (N),
12281228                                                    Chain);
@@ -1298,7 +1298,7 @@ SDValue DAGTypeLegalizer::SoftenFloatOp_FP_TO_XINT(SDNode *N) {
12981298  Op = GetSoftenedFloat (Op);
12991299  SDValue Chain = IsStrict ? N->getOperand (0 ) : SDValue ();
13001300  TargetLowering::MakeLibCallOptions CallOptions;
1301-   CallOptions.setTypeListBeforeSoften (SVT, RVT,  true );
1301+   CallOptions.setTypeListBeforeSoften (SVT, RVT);
13021302  std::pair<SDValue, SDValue> Tmp = TLI.makeLibCall (DAG, LC, NVT, Op,
13031303                                                    CallOptions, dl, Chain);
13041304
@@ -1453,7 +1453,7 @@ SDValue DAGTypeLegalizer::SoftenFloatOp_Unary(SDNode *N, RTLIB::Libcall LC) {
14531453  SDValue Chain = IsStrict ? N->getOperand (0 ) : SDValue ();
14541454  TargetLowering::MakeLibCallOptions CallOptions;
14551455  EVT OpVT = N->getOperand (0  + Offset).getValueType ();
1456-   CallOptions.setTypeListBeforeSoften (OpVT, N->getValueType (0 ),  true );
1456+   CallOptions.setTypeListBeforeSoften (OpVT, N->getValueType (0 ));
14571457  std::pair<SDValue, SDValue> Tmp = TLI.makeLibCall (DAG, LC, NVT, Op,
14581458                                                    CallOptions, SDLoc (N),
14591459                                                    Chain);
@@ -3567,7 +3567,7 @@ SDValue DAGTypeLegalizer::SoftPromoteHalfRes_FP_ROUND(SDNode *N) {
35673567    SDValue Chain = IsStrict ? N->getOperand (0 ) : SDValue ();
35683568    Op = GetSoftenedFloat (Op);
35693569    TargetLowering::MakeLibCallOptions CallOptions;
3570-     CallOptions.setTypeListBeforeSoften (SVT, RVT,  true );
3570+     CallOptions.setTypeListBeforeSoften (SVT, RVT);
35713571    std::pair<SDValue, SDValue> Tmp =
35723572        TLI.makeLibCall (DAG, LC, RVT, Op, CallOptions, SDLoc (N), Chain);
35733573    if  (IsStrict)
0 commit comments