[llvm] [InstCombine] Fold shift of boolean zext to logic sequence (PR #180596)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 10 08:19:18 PST 2026


https://github.com/nikic commented:

Would it be possible to handle this more generically instead, by teaching foldICmpBinOpWithConstantViaTruthTable to fold zext x into select x, 1, 0?

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


More information about the llvm-commits mailing list