[llvm] [InstCombine] Fold comparison of adding two z/sext booleans (PR #67895)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 1 05:07:46 PDT 2023


dtcxzyw wrote:

BTW, [D143373](https://reviews.llvm.org/D143373) does a similar transformation with this PR. We should put the logic in `foldICmpUsingBoolRange` rather than `foldICmpAddConstant`.


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


More information about the llvm-commits mailing list