nir/algebraic: Detect missing f on F-strings

Missing f in other cases seems to be caught either elsewhere in the
script or by the C compiler.

Fixes: c49d6e0480 ("nir/algebraic: Elide range clamping of f2u sources")
This commit is contained in:
Ian Romanick 2025-12-17 12:37:36 -08:00
parent 0b69aca0e8
commit dbdcdb2e38

View file

@ -107,6 +107,9 @@ class SearchExpression(object):
self.sources = expr[1:]
self.ignore_exact = False
assert '{' not in self.opcode, \
'Malformed opcode name \"{}\".'.format(self.opcode)
@staticmethod
def create(val):
if isinstance(val, tuple):