commit 39f1d96a2fd6aee5bf38b596db5a642bbba3a82d (tree)
parent 3506bc61b766528341ceaea27ae44b44227bf901
Author: Jacob Young <jacobly0@users.noreply.github.com>
Date: Sun, 13 Aug 2023 03:20:51 -0400
behavior: disable test that regressed with LLVM 17
Tracking issue #16797
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git 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;