microsoft/clc: Split struct copies before vars_to_ssa in pre-inline optimizations
Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29896>
This commit is contained in:
@@ -818,6 +818,8 @@ clc_spirv_to_dxil(struct clc_libclc *lib,
|
|||||||
NIR_PASS(progress, nir, nir_opt_undef);
|
NIR_PASS(progress, nir, nir_opt_undef);
|
||||||
NIR_PASS(progress, nir, nir_opt_constant_folding);
|
NIR_PASS(progress, nir, nir_opt_constant_folding);
|
||||||
NIR_PASS(progress, nir, nir_opt_cse);
|
NIR_PASS(progress, nir, nir_opt_cse);
|
||||||
|
NIR_PASS(progress, nir, nir_split_var_copies);
|
||||||
|
NIR_PASS(progress, nir, nir_lower_var_copies);
|
||||||
NIR_PASS(progress, nir, nir_lower_vars_to_ssa);
|
NIR_PASS(progress, nir, nir_lower_vars_to_ssa);
|
||||||
NIR_PASS(progress, nir, nir_opt_algebraic);
|
NIR_PASS(progress, nir, nir_opt_algebraic);
|
||||||
} while (progress);
|
} while (progress);
|
||||||
|
Reference in New Issue
Block a user