mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-27 01:28:12 +02:00
nir/algebraic: Remove redundant i2b(-x) pattern
The exact same pattern appears later (around line 1323). No shader-db or fossil-db changes on any Intel platform. Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Acked-by: Jesse Natalie <jenatali@microsoft.com> Tested-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15121>
This commit is contained in:
parent
8d90b13954
commit
14a9bb04e4
1 changed files with 0 additions and 1 deletions
|
|
@ -136,7 +136,6 @@ optimizations = [
|
|||
(('iabs', ('iabs', a)), ('iabs', a)),
|
||||
(('iabs', ('ineg', a)), ('iabs', a)),
|
||||
(('f2b', ('fneg', a)), ('f2b', a)),
|
||||
(('i2b', ('ineg', a)), ('i2b', a)),
|
||||
(('~fadd', a, 0.0), a),
|
||||
# a+0.0 is 'a' unless 'a' is denormal or -0.0. If it's only used by a
|
||||
# floating point instruction, they should flush any input denormals and we
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue