aco: add and use Program::progress

This is used when printing the program and to avoid updating register
demand during post-RA liveness analysis.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10315>
This commit is contained in:
Rhys Perry
2021-04-20 17:35:41 +01:00
committed by Marge Bot
parent 2d36232e62
commit 776ba40115
9 changed files with 47 additions and 27 deletions
+1 -1
View File
@@ -681,7 +681,7 @@ bool validate_ra(Program *program) {
return false;
bool err = false;
aco::live live_vars = aco::live_var_analysis(program, false);
aco::live live_vars = aco::live_var_analysis(program);
std::vector<std::vector<Temp>> phi_sgpr_ops(program->blocks.size());
uint16_t sgpr_limit = get_addr_sgpr_from_waves(program, program->num_waves);