[clang] [Driver] Introduce ffp-model=aggressive (PR #100453)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 17 10:55:31 PDT 2024


================
@@ -2879,10 +2879,31 @@ static void RenderFloatingPointOptions(const ToolChain &TC, const Driver &D,
   std::string ComplexRangeStr = "";
   std::string GccRangeComplexOption = "";
 
+  auto setComplexRange = [&](LangOptions::ComplexRangeKind NewRange) {
+    // Warn if user expects to perform full implementation of complex
+    // multiplication or division in the presence of nan or ninf flags.
----------------
MaskRay wrote:

typo: nan => nnan ?

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


More information about the cfe-commits mailing list