Skip to content

Commit 933f722

Browse files
authored
[bindings][ocaml] Add missing AtomicRMW operations (#105673)
1 parent 6ec4c9c commit 933f722

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

llvm/bindings/ocaml/llvm/llvm.ml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,10 @@ module AtomicRMWBinOp = struct
296296
| UMin
297297
| FAdd
298298
| FSub
299+
| FMax
300+
| FMin
301+
| UInc_Wrap
302+
| UDec_Wrap
299303
end
300304

301305
module ValueKind = struct

llvm/bindings/ocaml/llvm/llvm.mli

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,10 @@ module AtomicRMWBinOp : sig
331331
| UMin
332332
| FAdd
333333
| FSub
334+
| FMax
335+
| FMin
336+
| UInc_Wrap
337+
| UDec_Wrap
334338
end
335339

336340
(** The kind of an [llvalue], the result of [classify_value v].

0 commit comments

Comments
 (0)