authorgravatar for datamanrb@gmail.comdata-man <datamanrb@gmail.com> 2020-11-17 14:41:05+05:00
committergravatar for datamanrb@gmail.comdata-man <datamanrb@gmail.com> 2020-11-17 14:41:05+05:00
log86b86bef23a1834da8627132881925e0a43424f0
tree2bfba8fb383647f5996722b9e3b9867605b1d1cf
parentdf4fd94525d42cedb6bcbec0428cdb89d474ad48

Added links to the relevant issue


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

test/stage1/behavior/vector.zig+6
......@@ -529,6 +529,8 @@ test "vector reduce operation" {
529529 doTheTestReduce(.Min, [4]i32{ 1234567, -386, 0, 3 }, @as(i32, -386));
530530 doTheTestReduce(.Min, [4]u32{ 99, 9999, 9, 99999 }, @as(u32, 9));
531531
532 // LLVM 11 ERROR: Cannot select type
533 // https://github.com/ziglang/zig/issues/7138
532534 if (std.builtin.arch != .aarch64) {
533535 doTheTestReduce(.Min, [4]i64{ 1234567, -386, 0, 3 }, @as(i64, -386));
534536 doTheTestReduce(.Min, [4]u64{ 99, 9999, 9, 99999 }, @as(u64, 9));
......@@ -545,6 +547,8 @@ test "vector reduce operation" {
545547 doTheTestReduce(.Max, [4]i32{ 1234567, -386, 0, 3 }, @as(i32, 1234567));
546548 doTheTestReduce(.Max, [4]u32{ 99, 9999, 9, 99999 }, @as(u32, 99999));
547549
550 // LLVM 11 ERROR: Cannot select type
551 // https://github.com/ziglang/zig/issues/7138
548552 if (std.builtin.arch != .aarch64) {
549553 doTheTestReduce(.Max, [4]i64{ 1234567, -386, 0, 3 }, @as(i64, 1234567));
550554 doTheTestReduce(.Max, [4]u64{ 99, 9999, 9, 99999 }, @as(u64, 99999));
......@@ -591,6 +595,8 @@ test "vector reduce operation" {
591595 doTheTestReduce(.Add, [4]f32{ -1.9, 5.1, f32_nan, 100.0 }, f32_nan);
592596 doTheTestReduce(.Add, [4]f64{ -1.9, 5.1, f64_nan, 100.0 }, f64_nan);
593597
598 // LLVM 11 ERROR: Cannot select type
599 // https://github.com/ziglang/zig/issues/7138
594600 if (false) {
595601 doTheTestReduce(.Min, [4]f16{ -1.9, 5.1, f16_nan, 100.0 }, f16_nan);
596602 doTheTestReduce(.Min, [4]f32{ -1.9, 5.1, f32_nan, 100.0 }, f32_nan);