[llvm] [InstCombine] Fold `(icmp pred (trunc nuw/nsw X), C)` -> `(icmp pred X, (zext/sext C))` (PR #87935)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Sat May 11 03:09:27 PDT 2024


https://github.com/dtcxzyw approved this pull request.

LGTM. There are some regressions. But I don't think we should block this patch.


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


More information about the llvm-commits mailing list