Revert "nir: Add a couple trivial abs optimizations"
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 12 Feb 2020 11:48:37 +0000 (12:48 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 13 Feb 2020 09:18:27 +0000 (09:18 +0000)
commit0c1ba69a27090d3ef000943b47468705fe0454c4
tree9fb8ecae711a1908e9b69a689125ad9523bf276a
parentfdd20be324eabab7da1ba67cf7e379398d771186
Revert "nir: Add a couple trivial abs optimizations"

These were already added in 9fdaeb7776c ("nir: add min/max optimisation"),
and there's no point in doing them twice.

This reverts commit e4d346c86db0ae332fcdf55eac0e075cfb99a7eb.

Fixes: e4d346c86db ("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>
src/compiler/nir/nir_opt_algebraic.py