dtcxzyw wrote: We should handle `icmp pred (trunc nsw/nuw X), C` first to avoid regression https://github.com/dtcxzyw/llvm-opt-benchmark/pull/567/files#r1583426017. https://github.com/llvm/llvm-project/pull/90436