aco: Eliminate useless exec writes in jump threading.
authorTimur Kristóf <timur.kristof@gmail.com>
Thu, 13 May 2021 18:50:40 +0000 (20:50 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 18 May 2021 11:48:22 +0000 (11:48 +0000)
commitbc130497472cb4ec4ec60695ed99b169d6681118
tree46c5cad152ed184f9520080015fc6cf16e4b90ba
parente230dcc30b1b9f242c0052251715056f4adfbd03
aco: Eliminate useless exec writes in jump threading.

Eliminate exec writes which are unused by subsequent instructions.

Fossil DB results on Sienna Cichlid:

Totals from 80960 (54.03% of 149839) affected shaders:
CodeSize: 162953748 -> 161749372 (-0.74%)
Instrs: 31462273 -> 31161179 (-0.96%)
Copies: 2171239 -> 1942293 (-10.54%)
Branches: 807771 -> 807747 (-0.00%)

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Tony Wasserka <tony.wasserka@gmx.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10691>
src/amd/compiler/aco_ssa_elimination.cpp