mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 16:50:13 +01:00
nv50/ir: make sure to reverse cond codes on all the OP_SET variants
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Ben Skeggs <bskeggs@redhat.com> Cc: "10.2 10.1" <mesa-stable@lists.freedesktop.org>
This commit is contained in:
parent
83b4ec03e7
commit
68f47cad0d
1 changed files with 2 additions and 1 deletions
|
|
@ -187,7 +187,8 @@ LoadPropagation::checkSwapSrc01(Instruction *insn)
|
|||
return;
|
||||
}
|
||||
|
||||
if (insn->op == OP_SET)
|
||||
if (insn->op == OP_SET || insn->op == OP_SET_AND ||
|
||||
insn->op == OP_SET_OR || insn->op == OP_SET_XOR)
|
||||
insn->asCmp()->setCond = reverseCondCode(insn->asCmp()->setCond);
|
||||
else
|
||||
if (insn->op == OP_SLCT)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue