[llvm] [bindings][ocaml] Add missing AtomicRMW operations (PR #105673)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 22 07:53:35 PDT 2024
https://github.com/anjenner created https://github.com/llvm/llvm-project/pull/105673
None
>From 031afdee98dbf8cbc8ecbf427fac1a00eaf84578 Mon Sep 17 00:00:00 2001
From: Andrew Jenner <Andrew.Jenner at amd.com>
Date: Thu, 22 Aug 2024 10:56:48 -0400
Subject: [PATCH] [bindings][ocaml] Add missing AtomicRMW operations
---
llvm/bindings/ocaml/llvm/llvm.ml | 4 ++++
llvm/bindings/ocaml/llvm/llvm.mli | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/llvm/bindings/ocaml/llvm/llvm.ml b/llvm/bindings/ocaml/llvm/llvm.ml
index 908e6658a89f73..8e059ae71613dd 100644
--- a/llvm/bindings/ocaml/llvm/llvm.ml
+++ b/llvm/bindings/ocaml/llvm/llvm.ml
@@ -296,6 +296,10 @@ module AtomicRMWBinOp = struct
| UMin
| FAdd
| FSub
+ | FMax
+ | FMin
+ | UInc_Wrap
+ | UDec_Wrap
end
module ValueKind = struct
diff --git a/llvm/bindings/ocaml/llvm/llvm.mli b/llvm/bindings/ocaml/llvm/llvm.mli
index b8a430adf6cf2d..b8fdac7e38c6a7 100644
--- a/llvm/bindings/ocaml/llvm/llvm.mli
+++ b/llvm/bindings/ocaml/llvm/llvm.mli
@@ -331,6 +331,10 @@ module AtomicRMWBinOp : sig
| UMin
| FAdd
| FSub
+ | FMax
+ | FMin
+ | UInc_Wrap
+ | UDec_Wrap
end
(** The kind of an [llvalue], the result of [classify_value v].
More information about the llvm-commits
mailing list