[clang] [flang] [mlir] [flang,acc] Support -ffp-maxmin-behavior option in lowering. (PR #184730)

Tarun Prabhu via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 5 07:20:38 PST 2026


================
@@ -95,6 +96,20 @@ static cl::opt<bool> testGeneratorMode(
     "test-gen", cl::desc("-emit-final-mlir -simplify-mlir -enable-aa=false"),
     cl::init(false));
 
+static cl::opt<Fortran::common::FPMaxminBehavior> fpMaxminBehavior(
+    "ffp-maxmin-behavior",
+    cl::desc("Control MAX/MIN and [max|min][loc|val] behavior "
----------------
tarunprabhu wrote:

Casing

```suggestion
    cl::desc("Control max/min and [max|min][loc|val] behavior "
```

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


More information about the cfe-commits mailing list