diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2020-08-05 09:33:32 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2021-04-02 12:56:18 -0700 |
commit | bd3001cdd3a781e2efaff452abbdc233ee29d351 (patch) | |
tree | 41ab7e325a1288fe145558c0a577958a57604e0b | |
parent | 0a77dc4da351bd24c30d31f21aceae09cfdbe1c1 (diff) |
squash! WIP: nir/algebraic: Require sources of logic-joined comparisons be numbers
-rw-r--r-- | src/compiler/nir/nir_opt_algebraic.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/compiler/nir/nir_opt_algebraic.py b/src/compiler/nir/nir_opt_algebraic.py index 00ac805bda9..9ef5627321b 100644 --- a/src/compiler/nir/nir_opt_algebraic.py +++ b/src/compiler/nir/nir_opt_algebraic.py @@ -657,10 +657,6 @@ optimizations.extend([ (('ior', ('flt', '#a', c), ('flt', '#b', c)), ('flt', ('!fmin', a, b), c)), (('ior', ('fge', a, '#b'), ('fge', a, '#c')), ('fge', a, ('!fmin', b, c))), (('ior', ('fge', '#a', c), ('fge', '#b', c)), ('fge', ('!fmax', a, b), c)), - (('iand', ('flt(is_used_once)', a, 'b(is_a_number)'), ('flt', a, 'c(is_a_number)')), ('flt', a, ('fmin', b, c))), - (('iand', ('flt(is_used_once)', 'a(is_a_number)', c), ('flt', 'b(is_a_number)', c)), ('flt', ('fmax', a, b), c)), - (('iand', ('fge(is_used_once)', a, 'b(is_a_number)'), ('fge', a, 'c(is_a_number)')), ('fge', a, ('fmax', b, c))), - (('iand', ('fge(is_used_once)', 'a(is_a_number)', c), ('fge', 'b(is_a_number)', c)), ('fge', ('fmin', a, b), c)), (('iand', ('flt', a, '#b(is_a_number)'), ('flt', a, '#c(is_a_number)')), ('flt', a, ('fmin', b, c))), (('iand', ('flt', '#a(is_a_number)', c), ('flt', '#b(is_a_number)', c)), ('flt', ('fmax', a, b), c)), (('iand', ('fge', a, '#b(is_a_number)'), ('fge', a, '#c(is_a_number)')), ('fge', a, ('fmax', b, c))), |