aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-07-04 17:22:36 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-07-04 17:22:36 -0700
commitfbd6c883213ae9fce9734e2702cd6d3ef7691694 (patch)
tree54b3178757d827e2756165e123d4526332bc3a3a /src/codegen
parentf59bd2be539ce736d2ef04d16f48980d9c02a3ab (diff)
parent6fc9f6c5f6a067475f97cd16cb265332c8b7c6f3 (diff)
downloadzig-fbd6c883213ae9fce9734e2702cd6d3ef7691694.tar.gz
zig-fbd6c883213ae9fce9734e2702cd6d3ef7691694.zip
Merge remote-tracking branch 'origin/master' into llvm14
Diffstat (limited to 'src/codegen')
-rw-r--r--src/codegen/spirv/Section.zig10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/codegen/spirv/Section.zig b/src/codegen/spirv/Section.zig
index 6ed2de92f0..d21c2af8f1 100644
--- a/src/codegen/spirv/Section.zig
+++ b/src/codegen/spirv/Section.zig
@@ -328,6 +328,8 @@ fn extendedUnionSize(comptime Operand: type, operand: Operand) usize {
}
test "SPIR-V Section emit() - no operands" {
+ if (@import("builtin").zig_backend == .stage1) return error.SkipZigTest;
+
var section = Section{};
defer section.deinit(std.testing.allocator);
@@ -337,6 +339,8 @@ test "SPIR-V Section emit() - no operands" {
}
test "SPIR-V Section emit() - simple" {
+ if (@import("builtin").zig_backend == .stage1) return error.SkipZigTest;
+
var section = Section{};
defer section.deinit(std.testing.allocator);
@@ -353,6 +357,8 @@ test "SPIR-V Section emit() - simple" {
}
test "SPIR-V Section emit() - string" {
+ if (@import("builtin").zig_backend == .stage1) return error.SkipZigTest;
+
var section = Section{};
defer section.deinit(std.testing.allocator);
@@ -378,6 +384,8 @@ test "SPIR-V Section emit() - string" {
}
test "SPIR-V Section emit()- extended mask" {
+ if (@import("builtin").zig_backend == .stage1) return error.SkipZigTest;
+
var section = Section{};
defer section.deinit(std.testing.allocator);
@@ -402,6 +410,8 @@ test "SPIR-V Section emit()- extended mask" {
}
test "SPIR-V Section emit() - extended union" {
+ if (@import("builtin").zig_backend == .stage1) return error.SkipZigTest;
+
var section = Section{};
defer section.deinit(std.testing.allocator);