aco: don't CSE p_shader_cycles_hi_lo_hi
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Fixes: fae2a85d57
("aco/gfx12: implement subgroup shader clock")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12243
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32500>
This commit is contained in:
@@ -313,6 +313,7 @@ can_eliminate(aco_ptr<Instruction>& instr)
|
||||
if (instr->definitions.empty() || instr->opcode == aco_opcode::p_phi ||
|
||||
instr->opcode == aco_opcode::p_linear_phi ||
|
||||
instr->opcode == aco_opcode::p_pops_gfx9_add_exiting_wave_id ||
|
||||
instr->opcode == aco_opcode::p_shader_cycles_hi_lo_hi ||
|
||||
instr->definitions[0].isNoCSE())
|
||||
return false;
|
||||
|
||||
|
Reference in New Issue
Block a user