aboutsummaryrefslogtreecommitdiff
path: root/lib/std/simd.zig
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/simd.zig')
-rw-r--r--lib/std/simd.zig6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/std/simd.zig b/lib/std/simd.zig
index a30622aef6..19205e13fb 100644
--- a/lib/std/simd.zig
+++ b/lib/std/simd.zig
@@ -382,6 +382,12 @@ test "vector prefix scan" {
return error.SkipZigTest;
}
+ if (builtin.zig_backend == .stage1 or builtin.zig_backend == .stage2_llvm) {
+ // Regressed in LLVM 14:
+ // https://github.com/llvm/llvm-project/issues/55522
+ return error.SkipZigTest;
+ }
+
const int_base = @Vector(4, i32){ 11, 23, 9, -21 };
const float_base = @Vector(4, f32){ 2, 0.5, -10, 6.54321 };
const bool_base = @Vector(4, bool){ true, false, true, false };