summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2016-03-25 12:12:12 -0700
committerJason Ekstrand <jason.ekstrand@intel.com>2016-03-25 14:04:05 -0700
commit13bad493b49fe24bd16cbec14592f22c94a826f8 (patch)
tree698bf2682d2cdb9e00271a46c416f60befb20dbb
parent08fe89864b94f970ce73368636a87eace3c81663 (diff)
downloadmesa-13bad493b49fe24bd16cbec14592f22c94a826f8.tar.gz
nir/algebraic: Get rid of a redundant copy of fdiv lowering
-rw-r--r--src/compiler/nir/nir_opt_algebraic.py1
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)),