================
@@ -3225,11 +3204,10 @@ static void RenderFloatingPointOptions(const ToolChain 
&TC, const Driver &D,
   if (!FPContract.empty())
     CmdArgs.push_back(Args.MakeArgString("-ffp-contract=" + FPContract));
 
-  if (!RoundingFPMath)
-    CmdArgs.push_back(Args.MakeArgString("-fno-rounding-math"));
-
-  if (RoundingFPMath && RoundingMathPresent)
----------------
andykaylor wrote:

Every place in the code that sets RoundingFPMath to true also sets 
RoundingMathPresent to true, so this variable was entirely redundant.

https://github.com/llvm/llvm-project/pull/91017
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to