diff options
author | Jason Ekstrand <[email protected]> | 2016-03-23 14:25:56 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-03-23 16:27:58 -0700 |
commit | 89545b13141053cf12a10e5357aa82031e8419ed (patch) | |
tree | ad8d3802619ecad304248777f2859ec474a76ef7 /src/compiler/nir/nir_opt_algebraic.py | |
parent | 3a7cb6534c3f82482c05f6a6813308cf2cad131f (diff) |
nir/algebraic: Get rid of an invlid fxor optimization
The fxor opcode is required to return 1.0f or 0.0f but the input variable
may not be 1.0f or 0.0f.
Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_opt_algebraic.py')
-rw-r--r-- | src/compiler/nir/nir_opt_algebraic.py | 1 |
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 d788b7b1a0c..ec6c6338bb1 100644 --- a/src/compiler/nir/nir_opt_algebraic.py +++ b/src/compiler/nir/nir_opt_algebraic.py @@ -176,7 +176,6 @@ optimizations = [ (('ior', a, 0), a), (('fxor', a, a), 0.0), (('ixor', a, a), 0), - (('fxor', a, 0.0), a), (('ixor', a, 0), a), (('inot', ('inot', a)), a), # DeMorgan's Laws |