nir/opt_algebraic: Remove a pattern for 8bit floats

Avoids assertion failures trying to constant-evaluate the pattern with the
new nir_opt_algebraic_pattern_tests.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39184>
This commit is contained in:
Konstantin Seurer 2024-08-07 12:14:49 +02:00 committed by Marge Bot
parent afece95101
commit 211c7db8e3

View file

@ -3759,7 +3759,6 @@ for sz, mulz in itertools.product([16, 32, 64], [False, True]):
late_optimizations.extend([
# Subtractions get lowered during optimization, so we need to recombine them
(('fadd@8', a, ('fneg', 'b')), ('fsub', 'a', 'b'), 'options->has_fsub'),
(('fadd@16', a, ('fneg', 'b')), ('fsub', 'a', 'b'), 'options->has_fsub'),
(('fadd@32', a, ('fneg', 'b')), ('fsub', 'a', 'b'), 'options->has_fsub'),
(('fadd@64', a, ('fneg', 'b')), ('fsub', 'a', 'b'), 'options->has_fsub && !(options->lower_doubles_options & nir_lower_dsub)'),