authorgravatar for liljaanton2001@gmail.comantlilja <liljaanton2001@gmail.com> 2024-01-20 00:22:57+01:00
committergravatar for liljaanton2001@gmail.comantlilja <liljaanton2001@gmail.com> 2024-02-21 16:24:59+01:00
logff76ba64d63f8a82a22cda65aee2aa6e9e69ca75
tree05971ce54c25479f905a9ead1e5e2db0014d5730
parent6df8302be6d80989e3aaf000ae43f19ac069cfdf

Added values to AtomicRmw.Operation enum fields


1 files changed, 15 insertions(+), 15 deletions(-)

src/codegen/llvm/Builder.zig+15-15
......@@ -4691,21 +4691,21 @@ pub const Function = struct {
46914691 val: Value,
46924692
46934693 pub const Operation = enum(u5) {
4694 xchg,
4695 add,
4696 sub,
4697 @"and",
4698 nand,
4699 @"or",
4700 xor,
4701 max,
4702 min,
4703 umax,
4704 umin,
4705 fadd,
4706 fsub,
4707 fmax,
4708 fmin,
4694 xchg = 0,
4695 add = 1,
4696 sub = 2,
4697 @"and" = 3,
4698 nand = 4,
4699 @"or" = 5,
4700 xor = 6,
4701 max = 7,
4702 min = 8,
4703 umax = 9,
4704 umin = 10,
4705 fadd = 11,
4706 fsub = 12,
4707 fmax = 13,
4708 fmin = 14,
47094709 none = std.math.maxInt(u5),
47104710
47114711 fn toLlvm(self: Operation) llvm.AtomicRMWBinOp {