nir/range_analysis: Refactor fsat handling
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 8 Mar 2021 22:30:00 +0000 (14:30 -0800)
committerMarge Bot <eric+marge@anholt.net>
Thu, 11 Mar 2021 22:00:30 +0000 (22:00 +0000)
commit86fb53b1be1fea5ccea34d5bfca9d9aea64f3af2
tree737dbcaa766f1140e193bbbb67510a7824907d47
parent767270e8099073748032599fd357719b05dec081
nir/range_analysis: Refactor fsat handling

This will greatly simplify a later commit.  The assert(r.is_integral) in
the eq_zero case is dropped because I don't think it's useful anymore.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9108>
src/compiler/nir/nir_range_analysis.c