behavior: disable test that regressed with LLVM 17

Tracking issue #16797
This commit is contained in:
Jacob Young
2023-08-13 03:20:51 -04:00
committed by Andrew Kelley
parent 3506bc61b7
commit 39f1d96a2f

View File

@@ -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;