mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
Revert "nir: Add a couple trivial abs optimizations"
These were already added in9fdaeb7776("nir: add min/max optimisation"), and there's no point in doing them twice. This reverts commite4d346c86d. Fixes:e4d346c86d("nir: Add a couple trivial abs optimizations") Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3786> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3786>
This commit is contained in:
parent
fdd20be324
commit
0c1ba69a27
1 changed files with 0 additions and 2 deletions
|
|
@ -497,8 +497,6 @@ optimizations.extend([
|
|||
(('umin', ('umin', a, b), b), ('umin', a, b)),
|
||||
(('imin', ('imin', a, b), b), ('imin', a, b)),
|
||||
(('iand@32', a, ('inot', ('ishr', a, 31))), ('imax', a, 0)),
|
||||
(('fmax', a, ('fneg', a)), ('fabs', a)),
|
||||
(('imax', a, ('ineg', a)), ('iabs', a)),
|
||||
(('fmin', a, ('fneg', a)), ('fneg', ('fabs', a))),
|
||||
(('imin', a, ('ineg', a)), ('ineg', ('iabs', a))),
|
||||
(('fmin', a, ('fneg', ('fabs', a))), ('fneg', ('fabs', a))),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue