[llvm] InstCombine: fold mul (select (icmp ugt X, 1) (1, add nuw nsw X, 1)), Y -> shl Y, zext (icmp eq X, 1) (PR #215162)

via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 10 15:47:54 PDT 2026


user1342234 wrote:

> Does this pattern exist in real-world programs?

I'm not quite sure. I asked the author of the issue and will wait for a response.




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


More information about the llvm-commits mailing list