[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)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 10 02:44:36 PDT 2026


dtcxzyw wrote:

Does this pattern exist in real-world programs?


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


More information about the llvm-commits mailing list