broadcom/compiler: call nir_lower_64bit_phis

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25362>
This commit is contained in:
Karol Herbst
2023-09-23 14:40:00 +02:00
committed by Marge Bot
parent 4a169a518e
commit 9bf0b3a112
+2
View File
@@ -2146,6 +2146,8 @@ v3d_optimize_nir(struct v3d_compile *c, struct nir_shader *s)
NIR_PASS(progress, s, nir_opt_dce);
NIR_PASS(progress, s, nir_opt_dead_cf);
NIR_PASS(progress, s, nir_opt_cse);
/* before peephole_select as it can generate 64 bit bcsels */
NIR_PASS(progress, s, nir_lower_64bit_phis);
NIR_PASS(progress, s, nir_opt_peephole_select, 0, false, false);
NIR_PASS(progress, s, nir_opt_peephole_select, 24, true, true);
NIR_PASS(progress, s, nir_opt_algebraic);