From: Rhys Perry Date: Mon, 1 Jul 2019 14:49:40 +0000 (+0100) Subject: nir/algebraic: mark a few comparison simplifications as precise X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e8644122ed6c30b0ee353d76bdaed52bdf2c4f56;p=mesa.git nir/algebraic: mark a few comparison simplifications as precise No vkpipeline-db changes found. Signed-off-by: Rhys Perry Reveiewed-by: Alyssa Rosenzweig alyssa.rosenzweig@collabora.com Reviewed-by: Connor Abbott --- diff --git a/src/compiler/nir/nir_opt_algebraic.py b/src/compiler/nir/nir_opt_algebraic.py index 4c1d547d3a1..3ffa061c01e 100644 --- a/src/compiler/nir/nir_opt_algebraic.py +++ b/src/compiler/nir/nir_opt_algebraic.py @@ -209,8 +209,8 @@ optimizations = [ # Comparison simplifications (('~inot', ('flt', a, b)), ('fge', a, b)), (('~inot', ('fge', a, b)), ('flt', a, b)), - (('~inot', ('feq', a, b)), ('fne', a, b)), - (('~inot', ('fne', a, b)), ('feq', a, b)), + (('inot', ('feq', a, b)), ('fne', a, b)), + (('inot', ('fne', a, b)), ('feq', a, b)), (('inot', ('ilt', a, b)), ('ige', a, b)), (('inot', ('ult', a, b)), ('uge', a, b)), (('inot', ('ige', a, b)), ('ilt', a, b)),