nir: Add addition/multiplication identities of exp/log.
authorMatt Turner <mattst88@gmail.com>
Thu, 26 Mar 2015 18:08:01 +0000 (11:08 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 1 Apr 2015 20:43:57 +0000 (13:43 -0700)
commita2b6e908cfa1b85bc3eed9d31869ec3768b3daa2
treedfd92baa877647dd74c25200eaf88303f2d1e77c
parent099c729b4cb6863e8ddbdb9afe7fd7bd53c11ee1
nir: Add addition/multiplication identities of exp/log.

instructions in affected programs:     2858 -> 2808 (-1.75%)
helped:                                12

Reviewed-by: Eric Anholt <eric@anholt.net>
src/glsl/nir/nir_opt_algebraic.py