nir: Fixup algebraic test for variable-sized conversions
b2i can now take any size boolean in preparation for 1-bit booleans, so
the error message printed is slightly different.
Fixes: dca6cd9ce6
("nir: Make boolean conversions sized just like the others")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108961
Cc: Jason Ekstrand <jason@jlekstrand.net>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
e8a383ce67
commit
2845c49218
|
@ -67,7 +67,7 @@ class ValidatorTests(unittest.TestCase):
|
|||
|
||||
def test_replace_src_bitsize(self):
|
||||
self.common((('iadd', a, ('b2i', b)), ('iadd', a, b)),
|
||||
"Sources a (bit size of a) and b (bit size of 32) " \
|
||||
"Sources a (bit size of a) and b (bit size of b) " \
|
||||
"of ('iadd', 'a', 'b') may not have the same bit size " \
|
||||
"when building the replacement expression.")
|
||||
|
||||
|
|
Loading…
Reference in New Issue