aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2023-08-13 03:20:51 -0400
committerAndrew Kelley <andrew@ziglang.org>2023-09-19 09:37:32 -0700
commit39f1d96a2fd6aee5bf38b596db5a642bbba3a82d (patch)
tree367a60b97ce74779be9d053247ebf7326dd58ee7 /test
parent3506bc61b766528341ceaea27ae44b44227bf901 (diff)
downloadzig-39f1d96a2fd6aee5bf38b596db5a642bbba3a82d.tar.gz
zig-39f1d96a2fd6aee5bf38b596db5a642bbba3a82d.zip
behavior: disable test that regressed with LLVM 17
Tracking issue #16797
Diffstat (limited to 'test')
-rw-r--r--test/behavior/bitcast.zig7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/behavior/bitcast.zig b/test/behavior/bitcast.zig
index 974d656323..2063a5ba91 100644
--- a/test/behavior/bitcast.zig
+++ b/test/behavior/bitcast.zig
@@ -393,6 +393,13 @@ test "bitcast vector to integer and back" {
if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
+ if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .x86_64 and
+ comptime std.Target.x86.featureSetHas(builtin.cpu.features, .avx512f))
+ {
+ // https://github.com/ziglang/zig/issues/16797
+ return error.SkipZigTest;
+ }
+
const arr: [16]bool = [_]bool{ true, false } ++ [_]bool{true} ** 14;
var x: @Vector(16, bool) = @splat(true);
x[1] = false;