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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user