nir: Remove unnecessary subtraction optimizations
authorDaniel Schürmann <daniel@schuermann.dev>
Wed, 25 Sep 2019 14:33:10 +0000 (16:33 +0200)
committerDaniel Schürmann <daniel@schuermann.dev>
Mon, 30 Sep 2019 09:44:10 +0000 (09:44 +0000)
commit239423d23451537c3a0fdb3b08a857d03a21cce5
tree7def517281f6d7689da072c89f10165cc368b1e3
parent99848a57b7563c988f58ddcdf1fd040980d0bfe3
nir: Remove unnecessary subtraction optimizations

These optimizations are already covered after lowering.

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/compiler/nir/nir_opt_algebraic.py