aco: create better code for boolean phis with constant operands

Graphics / Mesa 3D Graphics Library / Mesa - Rhys Perry [gmail.com] - 10 July 2020 22:36 UTC

fossil-db (Navi): Totals from 6394 (4.70% of 135946) affected shaders: SGPRs: 651408 -> 651344 (-0.01%) SpillSGPRs: 52102 -> 52019 (-0.16%) CodeSize: 68369664 -> 68229180 (-0.21%); split: -0.21%, +0.00% Instrs: 13236611 -> 13202126 (-0.26%); split: -0.26%, +0.00%

f622e80494f aco: create better code for boolean phis with constant operands
src/amd/compiler/aco_instruction_selection.cpp | 14 ++++--
src/amd/compiler/aco_lower_phis.cpp | 68 ++++++++++++++++++++------
2 files changed, 62 insertions(+), 20 deletions(-)

Upstream: cgit.freedesktop.org


  • Share