authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-07-07 12:19:48-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-07-07 12:19:48-07:00
log1b9a9ee4baf86e77ea64b727ece8637fb06a381e
treebb1509642c950b4f0e3c260f73fd7127c9704222
parente5549de0de8a67d52c0b8acf1fb86c1a5aab2962

langref: disable an example that regressed from LLVM 14


1 files changed, 6 insertions(+), 0 deletions(-)

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