zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 1b9a9ee4baf86e77ea64b727ece8637fb06a381e (tree)
parent e5549de0de8a67d52c0b8acf1fb86c1a5aab2962
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Thu,  7 Jul 2022 12:19:48 -0700

langref: disable an example that regressed from LLVM 14

Diffstat:
Mdoc/langref.html.in | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/doc/langref.html.in b/doc/langref.html.in @@ -9383,6 +9383,12 @@ const std = @import("std"); const expect = std.testing.expect; test "vector @reduce" { + // This test regressed with LLVM 14: + // https://github.com/llvm/llvm-project/issues/55522 + // We'll skip this test unless the self-hosted compiler is being used. + // After LLVM 15 is released we can delete this line. + if (@import("builtin").zig_backend == .stage1) return; + const value = @Vector(4, i32){ 1, -1, 1, -1 }; const result = value > @splat(4, @as(i32, 0)); // result is { true, false, true, false };