[llvm] [LVI] Learn value ranges from ctpop/ctlz/cttz results (PR #121945)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 12 21:40:34 PST 2025


================
@@ -1159,6 +1162,49 @@ getRangeViaSLT(CmpInst::Predicate Pred, APInt RHS,
   return std::nullopt;
 }
 
+static bool matchBitIntrinsic(Value *LHS, Value *Val, Intrinsic::ID &IID) {
----------------
dtcxzyw wrote:

Unused?

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


More information about the llvm-commits mailing list