mesa/src/amd
Georg Lehmann 001fe8c236 aco: optimize boolean phi with empty else block
We can keep the else empty by handling the phi in the "then" block.

Foz-DB Navi21:
Totals from 921 (1.15% of 80065) affected shaders:
Instrs: 4532598 -> 4527309 (-0.12%); split: -0.12%, +0.00%
CodeSize: 24498484 -> 24481780 (-0.07%); split: -0.08%, +0.01%
Latency: 41016915 -> 41020477 (+0.01%); split: -0.10%, +0.11%
InvThroughput: 9998405 -> 9991873 (-0.07%); split: -0.08%, +0.02%
SClause: 128261 -> 128267 (+0.00%)
Copies: 409949 -> 408585 (-0.33%); split: -0.36%, +0.02%
Branches: 169740 -> 169222 (-0.31%); split: -0.58%, +0.27%
PreSGPRs: 64408 -> 64398 (-0.02%)
VALU: 2972521 -> 2972518 (-0.00%)
SALU: 673844 -> 668973 (-0.72%); split: -0.72%, +0.00%

Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35165>
2025-06-19 07:32:43 +00:00
..
addrlib amd/addrlib: remove the DCC page fault workaround 2025-04-01 03:23:22 -04:00
ci ci: uprev VKCTS main to 9cc8e038994c32534b3d2c4ba88c1dc49ef53228 2025-06-18 09:15:34 +00:00
common ac/gpu_info: Add vcn_fw_revision 2025-06-17 16:28:59 +00:00
compiler aco: optimize boolean phi with empty else block 2025-06-19 07:32:43 +00:00
drm-shim amd/drm-shim: add gfx1201 2025-03-10 11:21:36 +00:00
gmlib amd/gmlib: remove the executable bit 2025-06-12 07:44:27 +00:00
lanczoslib radeonsi/vpe: enhance scaling quality 2025-06-12 07:44:26 +00:00
llvm ac/llvm: use ds_bpermute_b32 for GFX12 wave64 2025-06-14 13:59:11 +00:00
registers amd: Rename GFX1103_R1/R2 to PHOENIX/2 2024-11-20 02:14:40 +00:00
vpelib amd/vpelib: Fix CodeQL issues Pt1 2025-05-16 11:33:08 +08:00
vulkan radv: dump NIR for executable info after nir_to_asm 2025-06-19 07:02:20 +00:00
meson.build radeonsi/vpe: enhance scaling quality 2025-06-12 07:44:26 +00:00