| author | |
| committer | |
| log | cbdd21cd9ac8ccab923c1f27f472af747489f661 |
| tree | 3f6945ec50731a334e5adc23cae808c078bd6967 |
| parent | b6981686649ab74b91ebb27bec8a29658b3d3923 |
4 files changed, 22 insertions(+), 4 deletions(-)
lib/std/fmt.zig+6| ... | ... | @@ -2623,6 +2623,12 @@ test "vector" { |
| 2623 | 2623 | return error.SkipZigTest; |
| 2624 | 2624 | } |
| 2625 | 2625 | |
| 2626 | if (builtin.zig_backend == .stage1) { | |
| 2627 | // Regressed in LLVM 14: | |
| 2628 | // https://github.com/llvm/llvm-project/issues/55522 | |
| 2629 | return error.SkipZigTest; | |
| 2630 | } | |
| 2631 | ||
| 2626 | 2632 | const vbool: @Vector(4, bool) = [_]bool{ true, false, true, false }; |
| 2627 | 2633 | const vi64: @Vector(4, i64) = [_]i64{ -2, -1, 0, 1 }; |
| 2628 | 2634 | const vu64: @Vector(4, u64) = [_]u64{ 1000, 2000, 3000, 4000 }; |
lib/std/mem.zig+9-3| ... | ... | @@ -331,6 +331,12 @@ pub fn zeroes(comptime T: type) T { |
| 331 | 331 | } |
| 332 | 332 | |
| 333 | 333 | test "zeroes" { |
| 334 | if (builtin.zig_backend == .stage1 or builtin.zig_backend == .stage2_llvm) { | |
| 335 | // Regressed in LLVM 14: | |
| 336 | // https://github.com/llvm/llvm-project/issues/55522 | |
| 337 | return error.SkipZigTest; | |
| 338 | } | |
| 339 | ||
| 334 | 340 | const C_struct = extern struct { |
| 335 | 341 | x: u32, |
| 336 | 342 | y: u32, |
| ... | ... | @@ -370,9 +376,9 @@ test "zeroes" { |
| 370 | 376 | }, |
| 371 | 377 | |
| 372 | 378 | array: [2]u32, |
| 373 | vector_u32: meta.Vector(2, u32), | |
| 374 | vector_f32: meta.Vector(2, f32), | |
| 375 | vector_bool: meta.Vector(2, bool), | |
| 379 | vector_u32: @Vector(2, u32), | |
| 380 | vector_f32: @Vector(2, f32), | |
| 381 | vector_bool: @Vector(2, bool), | |
| 376 | 382 | optional_int: ?u8, |
| 377 | 383 | empty: void, |
| 378 | 384 | sentinel: [3:0]u8, |
lib/std/simd.zig+6| ... | ... | @@ -382,6 +382,12 @@ test "vector prefix scan" { |
| 382 | 382 | return error.SkipZigTest; |
| 383 | 383 | } |
| 384 | 384 | |
| 385 | if (builtin.zig_backend == .stage1 or builtin.zig_backend == .stage2_llvm) { | |
| 386 | // Regressed in LLVM 14: | |
| 387 | // https://github.com/llvm/llvm-project/issues/55522 | |
| 388 | return error.SkipZigTest; | |
| 389 | } | |
| 390 | ||
| 385 | 391 | const int_base = @Vector(4, i32){ 11, 23, 9, -21 }; |
| 386 | 392 | const float_base = @Vector(4, f32){ 2, 0.5, -10, 6.54321 }; |
| 387 | 393 | const bool_base = @Vector(4, bool){ true, false, true, false }; |
lib/std/zig/fmt.zig+1-1| ... | ... | @@ -41,7 +41,7 @@ test "isValidId" { |
| 41 | 41 | try std.testing.expect(!isValidId("a b c")); |
| 42 | 42 | try std.testing.expect(!isValidId("3d")); |
| 43 | 43 | try std.testing.expect(!isValidId("enum")); |
| 44 | try std.testing.expect(!isValidId("i386")); | |
| 44 | try std.testing.expect(isValidId("i386")); | |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | /// Print the string as escaped contents of a double quoted or single-quoted string. |