nak: Convert to LCSSA before divergence analysis

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29591>
This commit is contained in:
Faith Ekstrand
2024-05-30 14:06:56 -05:00
committed by Marge Bot
parent 3528a0760c
commit 06902bf52e

View File

@@ -1011,6 +1011,7 @@ nak_postprocess_nir(nir_shader *nir,
}
} while (progress);
nir_convert_to_lcssa(nir, true, true);
nir_divergence_analysis(nir);
OPT(nir, nak_nir_remove_barriers);