[llvm] 933f722 - [bindings][ocaml] Add missing AtomicRMW operations (#105673)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 22 09:24:53 PDT 2024
Author: anjenner
Date: 2024-08-22T17:24:49+01:00
New Revision: 933f72217e4584db03f945a3b30e8c04537f4dab
URL: https://github.com/llvm/llvm-project/commit/933f72217e4584db03f945a3b30e8c04537f4dab
DIFF: https://github.com/llvm/llvm-project/commit/933f72217e4584db03f945a3b30e8c04537f4dab.diff
LOG: [bindings][ocaml] Add missing AtomicRMW operations (#105673)
Added:
Modified:
llvm/bindings/ocaml/llvm/llvm.ml
llvm/bindings/ocaml/llvm/llvm.mli
Removed:
################################################################################
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