nouveau: Add missing nir_opt_algebraic_late.
authorEmma Anholt <emma@anholt.net>
Thu, 23 Mar 2023 16:53:18 +0000 (09:53 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 6 Apr 2023 02:32:01 +0000 (02:32 +0000)
commit3a336a8ffd835d10556fbe96b03c91c168f46f24
tree414a8a5e2706a138fc8cda4b2c4513e009a5d7cd
parentf2228902ed8d1d5d352798d3561323e8684aa93b
nouveau: Add missing nir_opt_algebraic_late.

This was needed for nir_lower_frexp, but it's a win anyway.  shader-db
results:

total gpr in shared programs: 1143621 -> 1143502 (-0.01%)
gpr in affected programs: 33918 -> 33799 (-0.35%)

total instructions in shared programs: 7829415 -> 7820124 (-0.12%)
instructions in affected programs: 1204967 -> 1195676 (-0.77%)

total bytes in shared programs: 71802760 -> 71717352 (-0.12%)
bytes in affected programs: 11031888 -> 10946480 (-0.77%)

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22083>
src/nouveau/codegen/nv50_ir_from_nir.cpp