[llvm] [X86] ICMP EQ/NE MIN_SIGNED_INT - avoid immediate argument by using NEG + SETO/SETNO (PR #94948)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 10 05:28:35 PDT 2024


aengelke wrote:

What about cmp x, 1(/dec x) + seto/setno? neg always clobbers the operand, but it might be beneficial to keep it?

https://github.com/llvm/llvm-project/pull/94948


More information about the llvm-commits mailing list