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 | 178 | named_structure, |
| 179 | 179 | }; |
| 180 | 180 | |
| 181 | | pub const Simple = enum { |
| 182 | | void, |
| 183 | | half, |
| 184 | | bfloat, |
| 185 | | float, |
| 186 | | double, |
| 187 | | fp128, |
| 188 | | x86_fp80, |
| 189 | | ppc_fp128, |
| 190 | | x86_amx, |
| 191 | | x86_mmx, |
| 192 | | label, |
| 193 | | token, |
| 194 | | metadata, |
| 181 | pub const Simple = enum(u5) { |
| 182 | void = 2, |
| 183 | half = 10, |
| 184 | bfloat = 23, |
| 185 | float = 3, |
| 186 | double = 4, |
| 187 | fp128 = 14, |
| 188 | x86_fp80 = 13, |
| 189 | ppc_fp128 = 15, |
| 190 | x86_amx = 24, |
| 191 | x86_mmx = 17, |
| 192 | label = 5, |
| 193 | token = 22, |
| 194 | metadata = 16, |
| 195 | 195 | }; |
| 196 | 196 | |
| 197 | 197 | pub const Function = struct { |