mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 18:10:11 +01:00
aco: Call dominator_tree before lower_phis.
This just makes it possible to use the dominator tree information during phi lowering. No Fossil DB changes on GFX11. Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21493>
This commit is contained in:
parent
0eb7c49c7f
commit
81b4806d64
1 changed files with 1 additions and 2 deletions
|
|
@ -121,9 +121,8 @@ aco_postprocess_shader(const struct aco_compiler_options* options,
|
||||||
|
|
||||||
aco::live live_vars;
|
aco::live live_vars;
|
||||||
if (!info->is_trap_handler_shader) {
|
if (!info->is_trap_handler_shader) {
|
||||||
/* Phi lowering */
|
|
||||||
aco::lower_phis(program.get());
|
|
||||||
aco::dominator_tree(program.get());
|
aco::dominator_tree(program.get());
|
||||||
|
aco::lower_phis(program.get());
|
||||||
validate(program.get());
|
validate(program.get());
|
||||||
|
|
||||||
/* Optimization */
|
/* Optimization */
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue