More concise csel with Into

This commit is contained in:
Alan Wu 2022-08-05 14:41:55 -04:00 committed by Takashi Kokubun
parent 2429635bc7
commit 8fffff536d
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -2448,7 +2448,7 @@ fn gen_equality_specialized(
asm.cmp(a_opnd, b_opnd);
let val = asm.csel_ne(Opnd::Imm(Qfalse.into()), Opnd::Imm(Qtrue.into()));
let val = asm.csel_ne(Qfalse.into(), Qtrue.into());
// Push the output on the stack
ctx.stack_pop(2);