diff options
author | Matt Turner <[email protected]> | 2016-03-30 19:18:16 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2016-03-30 19:18:35 -0700 |
commit | 05ee6627d6112b2874f373e8302540e22ccc317c (patch) | |
tree | 47047edec4259f4c825596c6331b0478c8ed42f4 /src/compiler/nir/nir_opt_algebraic.py | |
parent | b273958c747b77fe000b513caa3033cf1fde5422 (diff) |
nir: Fix typo from commit 6702f1acde9.
Diffstat (limited to 'src/compiler/nir/nir_opt_algebraic.py')
-rw-r--r-- | src/compiler/nir/nir_opt_algebraic.py | 2 |
1 files changed, 1 insertions, 1 deletions
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'), |