[llvm] [llvm] Add support for llvm IR atomicrmw fminimum/fmaximum instructions (PR #136759)

Jonathan Thackray via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 23 04:46:43 PDT 2025


================
@@ -386,6 +386,12 @@ typedef enum {
   LLVMAtomicRMWBinOpFMin, /**< Sets the value if it's smaller than the
                            original using an floating point comparison and
                            return the old one */
+  LLVMAtomicRMWBinOpFMaximum, /**< Sets the value if it's greater than the
+                           original using an floating point comparison and
+                           return the old one */
+  LLVMAtomicRMWBinOpFMinimum, /**< Sets the value if it's smaller than the
+                           original using an floating point comparison and
+                           return the old one */
----------------
jthackray wrote:

Thanks, now moved in latest patch.

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


More information about the llvm-commits mailing list