authorgravatar for liljaanton2001@gmail.comantlilja <liljaanton2001@gmail.com> 2024-01-23 21:48:12+01:00
committergravatar for liljaanton2001@gmail.comantlilja <liljaanton2001@gmail.com> 2024-02-21 16:24:59+01:00
logec5a433fdfa5067650e485ffcb0c087060976bbd
tree12f0a34cc2ec5024f9c91788ebc41dae96b0f7cf
parent7cb8813743731c81ffd551ced84a2d9dacf6d086

Fix FastMath packed struct

* Added missing legacy field (unused_algebra) * Made struct correct size (u32 -> u8)

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

src/codegen/llvm/Builder.zig+2-1
...@@ -7340,7 +7340,8 @@ const MemoryAccessInfo = packed struct(u32) {...@@ -7340,7 +7340,8 @@ const MemoryAccessInfo = packed struct(u32) {
7340 _: u13 = undefined,7340 _: u13 = undefined,
7341};7341};
73427342
7343pub const FastMath = packed struct(u32) {7343pub const FastMath = packed struct(u8) {
7344 unsafe_algebra: bool = false, // Legacy
7344 nnan: bool = false,7345 nnan: bool = false,
7345 ninf: bool = false,7346 ninf: bool = false,
7346 nsz: bool = false,7347 nsz: bool = false,