Skip to content

Commit e26a75c

Browse files
committed
Attempt to fix test
1 parent 634a02d commit e26a75c

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

test/behavior/abs.zig

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -343,11 +343,6 @@ test "@abs float vectors" {
343343
if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
344344
if (builtin.zig_backend == .stage2_x86_64 and builtin.target.ofmt != .elf and builtin.target.ofmt != .macho) return error.SkipZigTest;
345345

346-
// https://github.com/ziglang/zig/issues/12827
347-
if (builtin.zig_backend == .stage2_llvm and
348-
builtin.os.tag == .macos and
349-
builtin.target.cpu.arch == .x86_64) return error.SkipZigTest;
350-
351346
@setEvalBranchQuota(2000);
352347
try comptime testAbsFloatVectors(f16, 1);
353348
try testAbsFloatVectors(f16, 1);

test/behavior/vector.zig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,12 @@ test "vector float operators" {
106106
if (builtin.zig_backend == .stage2_c and builtin.cpu.arch.isArm()) return error.SkipZigTest;
107107
if (builtin.zig_backend == .stage2_x86_64 and builtin.target.ofmt != .elf and builtin.target.ofmt != .macho) return error.SkipZigTest;
108108

109+
if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .aarch64) {
110+
// Triggers an assertion with LLVM 18:
111+
// https://github.com/ziglang/zig/issues/20680
112+
return error.SkipZigTest;
113+
}
114+
109115
const S = struct {
110116
fn doTheTest(T: type) !void {
111117
var v: @Vector(4, T) = .{ 10, 20, 30, 40 };

0 commit comments

Comments
 (0)