Skip to content

Commit 58204ae

Browse files
committed
behavior: disable tests triggering LLVM 15 bug
This bug is newly triggered by these tests since some values are now correctly promoted to comptime-known constants. Tracked by ziglang#13782
1 parent 7a096f4 commit 58204ae

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

test/behavior/vector.zig

+10
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ test "implicit cast vector to array - bool" {
1414
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
1515
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
1616

17+
if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch.endian() == .Big) {
18+
// https://github.com/ziglang/zig/issues/13782
19+
return error.SkipZigTest;
20+
}
21+
1722
const S = struct {
1823
fn doTheTest() !void {
1924
const a: @Vector(4, bool) = [_]bool{ true, false, true, false };
@@ -492,6 +497,11 @@ test "vector comparison operators" {
492497
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
493498
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
494499

500+
if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch.endian() == .Big) {
501+
// https://github.com/ziglang/zig/issues/13782
502+
return error.SkipZigTest;
503+
}
504+
495505
const S = struct {
496506
fn doTheTest() !void {
497507
{

0 commit comments

Comments
 (0)