mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
r600g/sb: fix peephole optimization for PRED_SETE
Fixes incorrect condition that prevented optimization for PRED_SETE/PRED_SETE_INT. Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
This commit is contained in:
parent
ff2a611699
commit
880f435a7e
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ void peephole::run_on(container_node* c) {
|
|||
if (n->is_alu_inst()) {
|
||||
alu_node *a = static_cast<alu_node*>(n);
|
||||
|
||||
if (a->bc.op_ptr->flags & AF_CC_MASK) {
|
||||
if (a->bc.op_ptr->flags & (AF_PRED | AF_SET | AF_CMOV)) {
|
||||
optimize_cc_op(a);
|
||||
} else if (a->bc.op == ALU_OP1_FLT_TO_INT) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue