freedreno/ir3: fix typo

Fixes: a9b556d3a0 ("freedreno/ir3: check the type of regs of absneg opcode in is_same_type_mov")
Reviewed-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
Hyunjun Ko 2019-06-20 22:12:23 +09:00 committed by Rob Clark
parent 546236e27f
commit f7f8fb1b55
1 changed files with 1 additions and 1 deletions

View File

@ -618,7 +618,7 @@ static inline bool is_same_type_reg(struct ir3_register *reg1,
struct ir3_register *reg2)
{
unsigned type_reg1 = (reg1->flags & (IR3_REG_HIGH | IR3_REG_HALF));
unsigned type_reg2 = (reg1->flags & (IR3_REG_HIGH | IR3_REG_HALF));
unsigned type_reg2 = (reg2->flags & (IR3_REG_HIGH | IR3_REG_HALF));
if (type_reg1 ^ type_reg2)
return false;