nir/range_analysis: Simplify analysis of bcsel
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 16 Feb 2021 21:41:27 +0000 (13:41 -0800)
committerMarge Bot <eric+marge@anholt.net>
Thu, 11 Mar 2021 22:00:30 +0000 (22:00 +0000)
commitda7389eced0ea876f3d1210a10fa6e98b32ebba7
tree7fd956c05a90782aa2ab6f32f1a0edc442eba66a
parent7019cd84c0ff2e3682c91cf2ab3a50c20226d024
nir/range_analysis: Simplify analysis of bcsel

union_ranges was previously guarded by 'ifndef NDEBUG'.  After removing
that, I noticed that the two tables were identical.

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