@@ -17398,14 +17398,14 @@ template <class MatchContextClass> SDValue DAGCombiner::visitFMA(SDNode *N) {
1739817398
1739917399 // FIXME: Support splat of constant.
1740017400 if (N0CFP && N0CFP->isExactlyValue(1.0))
17401- return matcher.getNode(ISD::FADD, SDLoc(N) , VT, N1, N2);
17401+ return matcher.getNode(ISD::FADD, DL , VT, N1, N2);
1740217402 if (N1CFP && N1CFP->isExactlyValue(1.0))
17403- return matcher.getNode(ISD::FADD, SDLoc(N) , VT, N0, N2);
17403+ return matcher.getNode(ISD::FADD, DL , VT, N0, N2);
1740417404
1740517405 // Canonicalize (fma c, x, y) -> (fma x, c, y)
1740617406 if (DAG.isConstantFPBuildVectorOrConstantFP(N0) &&
1740717407 !DAG.isConstantFPBuildVectorOrConstantFP(N1))
17408- return matcher.getNode(ISD::FMA, SDLoc(N) , VT, N1, N0, N2);
17408+ return matcher.getNode(ISD::FMA, DL , VT, N1, N0, N2);
1740917409
1741017410 bool CanReassociate =
1741117411 Options.UnsafeFPMath || N->getFlags().hasAllowReassociation();
@@ -17713,7 +17713,7 @@ SDValue DAGCombiner::visitFDIV(SDNode *N) {
1771317713 TLI.getNegatedExpression(N1, DAG, LegalOperations, ForCodeSize, CostN1);
1771417714 if (NegN1 && (CostN0 == TargetLowering::NegatibleCost::Cheaper ||
1771517715 CostN1 == TargetLowering::NegatibleCost::Cheaper))
17716- return DAG.getNode(ISD::FDIV, SDLoc(N) , VT, NegN0, NegN1);
17716+ return DAG.getNode(ISD::FDIV, DL , VT, NegN0, NegN1);
1771717717 }
1771817718
1771917719 if (SDValue R = combineFMulOrFDivWithIntPow2(N))
0 commit comments