aco/ssa_elimination: perform jump threading after parallelcopy insertion

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31888>
This commit is contained in:
Daniel Schürmann
2024-10-29 10:04:36 +01:00
committed by Marge Bot
parent b63dab29f0
commit a6c38f706d
+3 -3
View File
@@ -907,10 +907,10 @@ ssa_elimination(Program* program)
/* Collect information about every phi-instruction */
collect_phi_info(ctx);
/* eliminate empty blocks */
jump_threading(ctx);
/* insert parallelcopies from SSA elimination */
insert_parallelcopies(ctx);
/* eliminate empty blocks */
jump_threading(ctx);
}
} // namespace aco