@@ -357,9 +357,9 @@ MipsTargetLowering::MipsTargetLowering(const MipsTargetMachine &TM,
357357 setOperationAction (ISD::FCOPYSIGN, MVT::f64 , Custom);
358358 setOperationAction (ISD::FP_TO_SINT, MVT::i32 , Custom);
359359
360- setOperationAction (ISD::STRICT_FSETCC, MVT::f32 , Custom);
360+ setOperationAction (ISD::STRICT_FSETCC, MVT::f32 , Custom);
361361 setOperationAction (ISD::STRICT_FSETCCS, MVT::f32 , Custom);
362- setOperationAction (ISD::STRICT_FSETCC, MVT::f64 , Custom);
362+ setOperationAction (ISD::STRICT_FSETCC, MVT::f64 , Custom);
363363 setOperationAction (ISD::STRICT_FSETCCS, MVT::f64 , Custom);
364364
365365 if (Subtarget.hasMips32r2 () ||
@@ -666,8 +666,8 @@ static bool invertFPCondCodeUser(Mips::CondCode CC) {
666666// Returns Op if setcc is not a floating point comparison.
667667static SDValue createFPCmp (SelectionDAG &DAG, const SDValue &Op) {
668668 // must be a SETCC node
669- if (Op.getOpcode () != ISD::SETCC && Op.getOpcode () != ISD::STRICT_FSETCC
670- && Op.getOpcode () != ISD::STRICT_FSETCCS)
669+ if (Op.getOpcode () != ISD::SETCC && Op.getOpcode () != ISD::STRICT_FSETCC &&
670+ Op.getOpcode () != ISD::STRICT_FSETCCS)
671671 return Op;
672672
673673 SDValue LHS = Op.getOperand (0 );
@@ -1345,7 +1345,8 @@ LowerOperation(SDValue Op, SelectionDAG &DAG) const
13451345 case ISD::SELECT: return lowerSELECT (Op, DAG);
13461346 case ISD::SETCC: return lowerSETCC (Op, DAG);
13471347 case ISD::STRICT_FSETCC:
1348- case ISD::STRICT_FSETCCS: return lowerFSETCC (Op, DAG);
1348+ case ISD::STRICT_FSETCCS:
1349+ return lowerFSETCC (Op, DAG);
13491350 case ISD::VASTART: return lowerVASTART (Op, DAG);
13501351 case ISD::VAARG: return lowerVAARG (Op, DAG);
13511352 case ISD::FCOPYSIGN: return lowerFCOPYSIGN (Op, DAG);
@@ -2245,9 +2246,9 @@ SDValue MipsTargetLowering::lowerFSETCC(SDValue Op, SelectionDAG &DAG) const {
22452246 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand (3 ))->get ();
22462247
22472248 SDValue Cond = DAG.getNode (MipsISD::FPCmp, DL, MVT::Glue, LHS, RHS,
2248- DAG.getConstant (condCodeToFCC (CC), DL, MVT::i32 ));
2249+ DAG.getConstant (condCodeToFCC (CC), DL, MVT::i32 ));
22492250 SDValue True = DAG.getConstant (1 , DL, MVT::i32 );
2250- SDValue False = DAG.getConstant (0 , DL, MVT::i32 );
2251+ SDValue False = DAG.getConstant (0 , DL, MVT::i32 );
22512252 SDValue CMovFP = createCMovFP (DAG, Cond, True, False, DL);
22522253
22532254 return DAG.getMergeValues ({CMovFP, Chain}, DL);
0 commit comments