Skip to content

nir/algebraic: recover old optimization for iand/ior of (n)eq zero when umax/umin not available

Before 8e1b75b3 ("nir/algebraic: optimize iand/ior of (n)eq zero") this optimization didn't need the use of umax/umin. In the case of VC4 HW only support signed integer max/min operations.

lower_umin and lower_umax are added to allow enabling previous optimizations behaviour for this cases.

Fixes: 8e1b75b3 ("nir/algebraic: optimize iand/ior of (n)eq zero")

This series fixes the regression caused in VC4. And enables lower_umin/umax for VC4 driver.

Merge request reports