diff options
| author | Ali Cheraghi <alichraghi@proton.me> | 2025-08-02 08:35:44 +0330 |
|---|---|---|
| committer | Ali Cheraghi <alichraghi@proton.me> | 2025-08-02 08:56:39 +0330 |
| commit | 5525a90a478e4c3d9e9b8cd2d78f9238d7b8795a (patch) | |
| tree | c2a99d9b362f0c75bd2e1f466191668836fd52b2 /src/Zcu.zig | |
| parent | 31de2c873fa206a8fd491f7c9c959845fb86b0a1 (diff) | |
| download | zig-5525a90a478e4c3d9e9b8cd2d78f9238d7b8795a.tar.gz zig-5525a90a478e4c3d9e9b8cd2d78f9238d7b8795a.zip | |
spirv: remove deduplication ISel
Diffstat (limited to 'src/Zcu.zig')
| -rw-r--r-- | src/Zcu.zig | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Zcu.zig b/src/Zcu.zig index c13f7aaac9..76c3a96d13 100644 --- a/src/Zcu.zig +++ b/src/Zcu.zig @@ -3646,9 +3646,7 @@ pub fn errorSetBits(zcu: *const Zcu) u16 { if (zcu.error_limit == 0) return 0; if (target.cpu.arch.isSpirV()) { - if (!target.cpu.has(.spirv, .storage_push_constant16)) { - return 32; - } + if (zcu.comp.config.is_test) return 32; } return @as(u16, std.math.log2_int(ErrorInt, zcu.error_limit)) + 1; |
