diff options
author | Jason Ekstrand <jason.ekstrand@intel.com> | 2016-03-25 12:12:12 -0700 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2016-03-25 14:04:05 -0700 |
commit | 13bad493b49fe24bd16cbec14592f22c94a826f8 (patch) | |
tree | 698bf2682d2cdb9e00271a46c416f60befb20dbb | |
parent | 08fe89864b94f970ce73368636a87eace3c81663 (diff) | |
download | mesa-13bad493b49fe24bd16cbec14592f22c94a826f8.tar.gz |
nir/algebraic: Get rid of a redundant copy of fdiv lowering
-rw-r--r-- | src/compiler/nir/nir_opt_algebraic.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_opt_algebraic.py b/src/compiler/nir/nir_opt_algebraic.py index 60cd73132f7..2e9cd5fcc94 100644 --- a/src/compiler/nir/nir_opt_algebraic.py +++ b/src/compiler/nir/nir_opt_algebraic.py @@ -82,7 +82,6 @@ optimizations = [ (('imul', a, 1), a), (('fmul', a, -1.0), ('fneg', a)), (('imul', a, -1), ('ineg', a)), - (('fdiv', a, b), ('fmul', a, ('frcp', b)), 'options->lower_fdiv'), (('~ffma', 0.0, a, b), b), (('~ffma', a, 0.0, b), b), (('~ffma', a, b, 0.0), ('fmul', a, b)), |