From 05ee6627d6112b2874f373e8302540e22ccc317c Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Wed, 30 Mar 2016 19:18:16 -0700 Subject: nir: Fix typo from commit 6702f1acde9. --- src/compiler/nir/nir_opt_algebraic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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'), -- cgit v1.2.3