Explorar el Código

nir/algebraic: mark a few comparison simplifications as precise

No vkpipeline-db changes found.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reveiewed-by: Alyssa Rosenzweig alyssa.rosenzweig@collabora.com
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
tags/19.2-branchpoint
Rhys Perry hace 6 años
padre
commit
e8644122ed
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      src/compiler/nir/nir_opt_algebraic.py

+ 2
- 2
src/compiler/nir/nir_opt_algebraic.py Ver fichero

@@ -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)),

Cargando…
Cancelar
Guardar