nir: correct use of identity check in python
python has the identity operator is
, and the equality operator ==
.
Using is
with strings sometimes works in cpython due to optimizations
(they have some kind of cache), but it may not always work.
Fixes: 96c4b135 ("nir/algebraic: Don't put quotes around floating point literals")