From: Jason Ekstrand Date: Fri, 25 Mar 2016 19:12:12 +0000 (-0700) Subject: nir/algebraic: Get rid of a redundant copy of fdiv lowering X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13bad493b49fe24bd16cbec14592f22c94a826f8;p=mesa.git nir/algebraic: Get rid of a redundant copy of fdiv lowering --- 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)),