Skip to content

nir: fix GCM when GVN enabled

Timothy Arceri requested to merge tarceri/mesa:fix_gvn into main

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")

Merge request reports