[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
- Previous message: [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)
- Next message: [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)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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
- Previous message: [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)
- Next message: [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)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the llvm-commits
mailing list