Message ID | 20210729211448.34171-1-lucvoo@kernel.org (mailing list archive) |
---|---|
State | Mainlined, archived |
Headers | show |
Series | fix missing itype in SEL(x, 0/1, 1/0) --> (x ==/!= 0) | expand |
diff --git a/simplify.c b/simplify.c index 02709ce4853c..0353642ba188 100644 --- a/simplify.c +++ b/simplify.c @@ -2449,6 +2449,7 @@ static int simplify_select(struct instruction *insn) opcode = OP_SET_NE; } insn->opcode = opcode; + insn->itype = insn->type; /* insn->src1 is already cond */ insn->src2 = src1; /* Zero */ return REPEAT_CSE;