Merge pull request #24661 from alichraghi/spv4
spirv: refactor and remove deduplication ISel
This commit is contained in:
@@ -140,6 +140,7 @@ test "packed union initialized with a runtime value" {
|
||||
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO
|
||||
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
|
||||
if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
|
||||
if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest;
|
||||
|
||||
const Fields = packed struct {
|
||||
timestamp: u50,
|
||||
|
||||
@@ -1036,6 +1036,8 @@ test "sentinel-terminated 0-length slices" {
|
||||
}
|
||||
|
||||
test "peer slices keep abi alignment with empty struct" {
|
||||
if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest;
|
||||
|
||||
var cond: bool = undefined;
|
||||
cond = false;
|
||||
const slice = if (cond) &[1]u32{42} else &.{};
|
||||
|
||||
Reference in New Issue
Block a user