Skip to content

aco: detect some if branches that are never taken

Georg Lehmann requested to merge DadSchoorse/mesa:aco-more-never-taken into main

Helps waterfall loops, if (subgroupElect()) and if (!is_helper_invocation()).

Foz-DB Navi31:
Totals from 1461 (1.84% of 79395) affected shaders:
Instrs: 6719178 -> 6689634 (-0.44%)
CodeSize: 35565612 -> 35359020 (-0.58%); split: -0.59%, +0.01%
Latency: 67108491 -> 67075045 (-0.05%); split: -0.05%, +0.00%
InvThroughput: 9728385 -> 9724521 (-0.04%); split: -0.04%, +0.00%
Branches: 225704 -> 196246 (-13.05%)

Merge request reports

Loading