================ @@ -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