aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-04-25 22:52:15 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-05-08 19:37:28 -0700
commitd34fae26d5bb556debf6b0a1d570ae936331a74b (patch)
tree6ffd356e09537093b381f0c130fcc66b1fd46fb9 /src/Module.zig
parent109ec729247443200c2ba614f6acb0b991e44b4d (diff)
downloadzig-d34fae26d5bb556debf6b0a1d570ae936331a74b.tar.gz
zig-d34fae26d5bb556debf6b0a1d570ae936331a74b.zip
LLVM 18 std lib updates and fixes
* some manual fixes to generated CPU features code. In the future it would be nice to make the script do those automatically. * add to various target OS switches. Some of the values I was unsure of and added TODO panics, for example in the case of spirv CPU arch.
Diffstat (limited to 'src/Module.zig')
-rw-r--r--src/Module.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Module.zig b/src/Module.zig
index 146e4e92a0..c571c851fe 100644
--- a/src/Module.zig
+++ b/src/Module.zig
@@ -5976,6 +5976,8 @@ pub fn atomicPtrAlignment(
=> 128,
.x86_64 => if (std.Target.x86.featureSetHas(target.cpu.features, .cx16)) 128 else 64,
+
+ .spirv => @panic("TODO what should this value be?"),
};
const int_ty = switch (ty.zigTypeTag(mod)) {