spirv: ptr_elem_val

Implements the ptr_elem_val air tag. Implementation is unified
with ptr_elem_ptr.
This commit is contained in:
Robin Voetter
2023-05-19 14:17:58 +02:00
parent 77b8bf2b82
commit 65157d30ab
21 changed files with 36 additions and 41 deletions

View File

@@ -421,7 +421,6 @@ test "optional of noreturn used with orelse" {
}
test "orelse on C pointer" {
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
// TODO https://github.com/ziglang/zig/issues/6597
const foo: [*c]const u8 = "hey";