[llvm] [InstSimplify] Fold `X * C >= X` to `true` (PR #129352)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 1 00:31:39 PST 2025
================
@@ -3073,16 +3082,16 @@ static void getUnsignedMonotonicValues(SmallPtrSetImpl<Value *> &Res, Value *V,
}
static Value *simplifyICmpUsingMonotonicValues(CmpPredicate Pred, Value *LHS,
- Value *RHS) {
+ Value *RHS,
+ const SimplifyQuery &Q) {
if (Pred != ICmpInst::ICMP_UGE && Pred != ICmpInst::ICMP_ULT)
return nullptr;
-
----------------
dtcxzyw wrote:
Please drop unnecessary newline changes.
https://github.com/llvm/llvm-project/pull/129352
More information about the llvm-commits
mailing list