commit 86b86bef23a1834da8627132881925e0a43424f0 (tree)
parent df4fd94525d42cedb6bcbec0428cdb89d474ad48
Author: data-man <datamanrb@gmail.com>
Date: Tue, 17 Nov 2020 14:41:05 +0500
Added links to the relevant issue
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/test/stage1/behavior/vector.zig b/test/stage1/behavior/vector.zig
@@ -529,6 +529,8 @@ test "vector reduce operation" {
doTheTestReduce(.Min, [4]i32{ 1234567, -386, 0, 3 }, @as(i32, -386));
doTheTestReduce(.Min, [4]u32{ 99, 9999, 9, 99999 }, @as(u32, 9));
+ // LLVM 11 ERROR: Cannot select type
+ // https://github.com/ziglang/zig/issues/7138
if (std.builtin.arch != .aarch64) {
doTheTestReduce(.Min, [4]i64{ 1234567, -386, 0, 3 }, @as(i64, -386));
doTheTestReduce(.Min, [4]u64{ 99, 9999, 9, 99999 }, @as(u64, 9));
@@ -545,6 +547,8 @@ test "vector reduce operation" {
doTheTestReduce(.Max, [4]i32{ 1234567, -386, 0, 3 }, @as(i32, 1234567));
doTheTestReduce(.Max, [4]u32{ 99, 9999, 9, 99999 }, @as(u32, 99999));
+ // LLVM 11 ERROR: Cannot select type
+ // https://github.com/ziglang/zig/issues/7138
if (std.builtin.arch != .aarch64) {
doTheTestReduce(.Max, [4]i64{ 1234567, -386, 0, 3 }, @as(i64, 1234567));
doTheTestReduce(.Max, [4]u64{ 99, 9999, 9, 99999 }, @as(u64, 99999));
@@ -591,6 +595,8 @@ test "vector reduce operation" {
doTheTestReduce(.Add, [4]f32{ -1.9, 5.1, f32_nan, 100.0 }, f32_nan);
doTheTestReduce(.Add, [4]f64{ -1.9, 5.1, f64_nan, 100.0 }, f64_nan);
+ // LLVM 11 ERROR: Cannot select type
+ // https://github.com/ziglang/zig/issues/7138
if (false) {
doTheTestReduce(.Min, [4]f16{ -1.9, 5.1, f16_nan, 100.0 }, f16_nan);
doTheTestReduce(.Min, [4]f32{ -1.9, 5.1, f32_nan, 100.0 }, f32_nan);