Merge pull request #24661 from alichraghi/spv4

spirv: refactor and remove deduplication ISel
This commit is contained in:
Andrew Kelley
2025-08-07 20:55:50 -07:00
committed by GitHub
17 changed files with 8245 additions and 12002 deletions

View File

@@ -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,

View File

@@ -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 &.{};