aco: consider s_cbranch_exec* instructions in needs_exec_mask()
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32477>
This commit is contained in:
committed by
Marge Bot
parent
de1e38e214
commit
eecdb45d61
@@ -854,7 +854,8 @@ needs_exec_mask(const Instruction* instr)
|
||||
return true;
|
||||
|
||||
if (instr->isSALU() || instr->isBranch() || instr->isSMEM() || instr->isBarrier())
|
||||
return instr->reads_exec();
|
||||
return instr->opcode == aco_opcode::s_cbranch_execz ||
|
||||
instr->opcode == aco_opcode::s_cbranch_execnz || instr->reads_exec();
|
||||
|
||||
if (instr->isPseudo()) {
|
||||
switch (instr->opcode) {
|
||||
|
||||
Reference in New Issue
Block a user