Skip to content

aco: ignore blocked registers when checking edges in get_reg_impl()

Rhys Perry requested to merge pendingchaos/mesa:aco_ra_edge_check_block into master

If the only two registers available are consecutive and used by killed operands, both of them will be blocked and fail the edge check.

Totals from 903 (0.66% of 135946) affected shaders:
VGPRs: 30892 -> 30884 (-0.03%)
CodeSize: 1584468 -> 1584044 (-0.03%); split: -0.05%, +0.02%
MaxWaves: 14374 -> 14378 (+0.03%)
Instrs: 306482 -> 306399 (-0.03%); split: -0.06%, +0.03%

Merge request reports