Skip to content

Commit

Permalink
std: disable aarch64 tests that regressed from LLVM 14
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrk authored and wooster0 committed Jul 24, 2022
1 parent c0611cd commit ccc0069
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/std/math.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1647,6 +1647,12 @@ fn testSign() !void {
}

test "sign" {
if ((builtin.zig_backend == .stage1 or builtin.zig_backend == .stage2_llvm) and
builtin.cpu.arch == .aarch64)
{
// https://github.com/ziglang/zig/issues/12012
return error.SkipZigTest;
}
try testSign();
comptime try testSign();
}
6 changes: 6 additions & 0 deletions lib/std/simd.zig
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,12 @@ pub fn extract(
}

test "vector patterns" {
if ((builtin.zig_backend == .stage1 or builtin.zig_backend == .stage2_llvm) and
builtin.cpu.arch == .aarch64)
{
// https://github.com/ziglang/zig/issues/12012
return error.SkipZigTest;
}
const base = @Vector(4, u32){ 10, 20, 30, 40 };
const other_base = @Vector(4, u32){ 55, 66, 77, 88 };

Expand Down

0 comments on commit ccc0069

Please sign in to comment.