Commit 39f1d96a2f

Jacob Young <jacobly0@users.noreply.github.com>
2023-08-13 09:20:51
behavior: disable test that regressed with LLVM 17
Tracking issue #16797
1 parent 3506bc6
Changed files (1)
test
behavior
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;