nir: fix GCM when GVN enabled
Enabling GVN uncovered a bug where we would crash if the pass thinking about pushing something into a loop.
Fixes: 6538b3e5 ("nir: add heuristic for instructions in loops with GCM")
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Enabling GVN uncovered a bug where we would crash if the pass thinking about pushing something into a loop.
Fixes: 6538b3e5 ("nir: add heuristic for instructions in loops with GCM")