[llvm] [InstCombine] Fold `(x < 2^32) & (trunc(x to i32) == 0)` into `x == 0` (PR #171195)

Tirthankar Mazumder via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 9 21:22:02 PST 2025


wermos wrote:

Alright, I'll work on moving the patch you shared into `decomposeBitTestICmp`.

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


More information about the llvm-commits mailing list