[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:36 PST 2026


================
@@ -0,0 +1,40 @@
+//===- Support/FPMaxminBehavior.h - FP max/min behavior option --*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+///
+/// \file
+/// Shared definition of FP max/min behavior for MAX/MIN and [max|min][loc|val].
----------------
tarunprabhu wrote:

Casing. Also added the extra word intrinsics since "max/min" is used twice here to mean subtly different things.

```suggestion
/// Shared definition of FP max/min behavior for max/min and [max|min][loc|val] intrinsics.
```

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


More information about the cfe-commits mailing list