nir/algebraic: Remove a duplicate optimization
This optimization is repeated verbatim above Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
22ee7eeb4e
commit
1779dc060f
|
@ -172,9 +172,6 @@ optimizations = [
|
|||
(('iadd', a, ('isub', 0, b)), ('isub', a, b)),
|
||||
(('fabs', ('fsub', 0.0, a)), ('fabs', a)),
|
||||
(('iabs', ('isub', 0, a)), ('iabs', a)),
|
||||
|
||||
# This one may not be exact
|
||||
(('feq', ('fadd', a, b), 0.0), ('feq', a, ('fneg', b))),
|
||||
]
|
||||
|
||||
# Add optimizations to handle the case where the result of a ternary is
|
||||
|
|
Loading…
Reference in New Issue