[llvm] [InstSimplify] `A == MIN_INT ? B != MIN_INT : A < B` to `A < B` (PR #120177)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 17 02:53:29 PST 2024


nikic wrote:

> You should either implement this fold and drop the flag in InstCombine or bail out on icmps with `samesign` in InstSimplify.

The first option is preferred.

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


More information about the llvm-commits mailing list