From ba30de1f9763998ee35cf629cd45c27a5ac5ddec Mon Sep 17 00:00:00 2001 From: Georg Lehmann Date: Tue, 24 Feb 2026 14:31:27 +0100 Subject: [PATCH] nir/opt_algebraic: remove pattern that skips iabs with range analysis Fixes: f2a59fdea62 ("nir: remove non float nir_analyse_range support") Reviewed-by: Alyssa Rosenzweig Part-of: --- src/compiler/nir/nir_opt_algebraic.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/compiler/nir/nir_opt_algebraic.py b/src/compiler/nir/nir_opt_algebraic.py index 983467f66f4..37b6ff4937c 100644 --- a/src/compiler/nir/nir_opt_algebraic.py +++ b/src/compiler/nir/nir_opt_algebraic.py @@ -1927,7 +1927,6 @@ optimizations.extend([ (('ffract(nnan)', 'a(is_integral)'), 0.0), (('ffract', ('ffract', a)), ('ffract', a)), (('fabs', 'a(is_not_negative)'), ('fcanonicalize', a)), - (('iabs', 'a(is_not_negative)'), a), (('fsat', 'a(is_not_positive)'), 0.0), (('fmin(nnan,nsz)', 'a(is_not_negative)', 1.0), ('fsat', a), '!options->lower_fsat'),