From: Matt Turner Date: Thu, 31 Mar 2016 02:18:16 +0000 (-0700) Subject: nir: Fix typo from commit 6702f1acde9. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=05ee6627d6112b2874f373e8302540e22ccc317c;p=mesa.git nir: Fix typo from commit 6702f1acde9. --- diff --git a/src/compiler/nir/nir_opt_algebraic.py b/src/compiler/nir/nir_opt_algebraic.py index c2e56e71734..2fac9adafe6 100644 --- a/src/compiler/nir/nir_opt_algebraic.py +++ b/src/compiler/nir/nir_opt_algebraic.py @@ -271,7 +271,7 @@ optimizations = [ # Propagate negation up multiplication chains (('fmul', ('fneg', a), b), ('fneg', ('fmul', a, b))), - (('imul', ('ineg', a), b), ('ineg', ('fmul', a, b))), + (('imul', ('ineg', a), b), ('ineg', ('imul', a, b))), # Misc. lowering (('fmod', a, b), ('fsub', a, ('fmul', b, ('ffloor', ('fdiv', a, b)))), 'options->lower_fmod'),