mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 01:20:17 +01:00
nir: Add algebraic opt for no-op iand.
I lazily generated some of these in VC4 NIR lowering. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
This commit is contained in:
parent
63eac5de8f
commit
a70f63ab20
1 changed files with 1 additions and 0 deletions
|
|
@ -132,6 +132,7 @@ optimizations = [
|
|||
# Logical and bit operations
|
||||
(('fand', a, 0.0), 0.0),
|
||||
(('iand', a, a), a),
|
||||
(('iand', a, ~0), a),
|
||||
(('iand', a, 0), 0),
|
||||
(('ior', a, a), a),
|
||||
(('ior', a, 0), a),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue