ir3: Don't lower to LCSSA before calling nir_divergence_analysis()

NIR can now calculate divergence without converting to LCSSA beforehand.
However, removing this particular instance of nir_convert_to_lcssa was
missed in commit 87cb42f953 ("treewide: don't lower to LCSSA before calling nir_divergence_analysis()")

Signed-off-by: Valentine Burley <valentine.burley@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31821>
This commit is contained in:
Valentine Burley 2024-10-24 12:04:27 +00:00 committed by Marge Bot
parent 5bb0296e08
commit 7ec0b62341

View file

@ -820,7 +820,6 @@ ir3_nir_lower_shuffle(nir_shader *nir, struct ir3_shader *shader)
return false;
}
nir_convert_to_lcssa(nir, true, true);
nir_divergence_analysis(nir);
return nir_shader_lower_instructions(nir, filter_shuffle, lower_shuffle,
NULL);