move nir_opt_shrink_stores() (and nir_opt_shrink_vectors()) out of optimization loop
With !14480 (merged) being merged, there is no need to execute nir_opt_shrink_stores()
in the optimization loop anymore. With nir_opt_shrink_vectors()
, I'm not entirely sure if repeated execution has an effect, and that probably depends on the backend, whether the arch is scalar and how often the optimization loop is called, but it should be worth trying.
- nir_opt_shrink_stores should probably be called before and
- nir_opt_shrink_vectors after the optimization loop
Please also note !12468 (merged) which increases the runtime of nir_opt_shrink_vectors()
.