[clang] [clang] Enable FPContract with optnone (PR #91061)

via cfe-commits cfe-commits at lists.llvm.org
Sun May 5 14:57:39 PDT 2024


================
@@ -968,10 +968,7 @@ class FPOptionsOverride {
       setAllowFPContractAcrossStatement();
   }
 
-  void setDisallowOptimizations() {
-    setFPPreciseEnabled(true);
-    setDisallowFPContract();
-  }
+  void setDisallowOptimizations() { setFPPreciseEnabled(true); }
----------------
wjristow wrote:

Ahhh..  I didn't realize.  Thanks!

https://github.com/llvm/llvm-project/pull/91061


More information about the cfe-commits mailing list