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

Stephen Senran Zhang via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 12 21:43:07 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) {
----------------
zsrkmyn wrote:

Ah, sorry. I forgot to remove it. Fixed.

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


More information about the llvm-commits mailing list