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

Shengchen Kan via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 10 19:24:16 PDT 2024


KanRobert wrote:

> I've let this fold run for i8+i16 as well as i32+i64, despite there being less of a codesize saving.
Why? We supports immediate folding in HW, and I believe the immediate does not bring any cost if the codesize is less.

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


More information about the llvm-commits mailing list