[Mlir-commits] [flang] [mlir] [Flang] [OpenMP] atomic compare (PR #184761)

Krzysztof Parzyszek llvmlistbot at llvm.org
Sun Mar 15 08:11:22 PDT 2026


================
@@ -485,6 +486,26 @@ genAtomicOperation(lower::AbstractConverter &converter,
   }
 }
 
+/// Reverse a relational operator as if the operands were swapped.
+/// e.g. LT becomes GT, LE becomes GE. Symmetric operators (EQ, NE)
+/// are returned unchanged.
+static Fortran::common::RelationalOperator
----------------
kparzysz wrote:

Please remove the `Fortran::` qualification everywhere.  There is `using namespace Fortran` at the beginning of the file.

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


More information about the Mlir-commits mailing list