diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-07-07 12:19:48 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-07-07 12:19:48 -0700 |
| commit | 1b9a9ee4baf86e77ea64b727ece8637fb06a381e (patch) | |
| tree | bb1509642c950b4f0e3c260f73fd7127c9704222 /doc | |
| parent | e5549de0de8a67d52c0b8acf1fb86c1a5aab2962 (diff) | |
| download | zig-1b9a9ee4baf86e77ea64b727ece8637fb06a381e.tar.gz zig-1b9a9ee4baf86e77ea64b727ece8637fb06a381e.zip | |
langref: disable an example that regressed from LLVM 14
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/langref.html.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in index 9170cf5b62..906fbd7f71 100644 --- 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 }; |
