[llvm] [DemandedBits] Support non-constant shift amounts (PR #148880)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 19 23:30:54 PDT 2025
================
@@ -76,6 +76,16 @@ void DemandedBits::determineLiveOperandBits(
computeKnownBits(V2, Known2, DL, &AC, UserI, &DT);
}
};
+ auto GetShiftedRange = [&](unsigned const Min, unsigned const Max,
----------------
dtcxzyw wrote:
```suggestion
auto GetShiftedRange = [&](unsigned Min, unsigned Max,
```
https://github.com/llvm/llvm-project/pull/148880
More information about the llvm-commits
mailing list