[llvm] [InstCombine] Extend bitmask mul combine to handle independent operands (PR #142503)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 5 00:23:41 PDT 2025
================
@@ -3602,6 +3603,11 @@ struct DecomposedBitMaskMul {
APInt Mask;
bool NUW;
bool NSW;
+
+ bool isCombineableWith(DecomposedBitMaskMul Other) {
----------------
dtcxzyw wrote:
```suggestion
bool isCombineableWith(const DecomposedBitMaskMul &Other) {
```
https://github.com/llvm/llvm-project/pull/142503
More information about the llvm-commits
mailing list