authorgravatar for liljaanton2001@gmail.comantlilja <liljaanton2001@gmail.com> 2023-08-26 18:31:22+02:00
committergravatar for liljaanton2001@gmail.comantlilja <liljaanton2001@gmail.com> 2024-02-21 16:24:59+01:00
log9ccd7158b90ac773c0ab09bf5512f2d3d4ef87c2
tree449ae54c0c7b37bd05181cb40dc3e1826962ee48
parent1d94e9ef83835c3549ec294c1b63d4230f9fcc10

LLVM Builder: Make Type.Simple reflect LLVM codes


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

src/codegen/llvm/Builder.zig+14-14
...@@ -178,20 +178,20 @@ pub const Type = enum(u32) {...@@ -178,20 +178,20 @@ pub const Type = enum(u32) {
178 named_structure,178 named_structure,
179 };179 };
180180
181 pub const Simple = enum {181 pub const Simple = enum(u5) {
182 void,182 void = 2,
183 half,183 half = 10,
184 bfloat,184 bfloat = 23,
185 float,185 float = 3,
186 double,186 double = 4,
187 fp128,187 fp128 = 14,
188 x86_fp80,188 x86_fp80 = 13,
189 ppc_fp128,189 ppc_fp128 = 15,
190 x86_amx,190 x86_amx = 24,
191 x86_mmx,191 x86_mmx = 17,
192 label,192 label = 5,
193 token,193 token = 22,
194 metadata,194 metadata = 16,
195 };195 };
196196
197 pub const Function = struct {197 pub const Function = struct {