| ... | ... | @@ -9383,6 +9383,12 @@ const std = @import("std"); |
| 9383 | 9383 | const expect = std.testing.expect; |
| 9384 | 9384 | |
| 9385 | 9385 | test "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 | 9392 | const value = @Vector(4, i32){ 1, -1, 1, -1 }; |
| 9387 | 9393 | const result = value > @splat(4, @as(i32, 0)); |
| 9388 | 9394 | // result is { true, false, true, false }; |