[llvm] [ConstraintElim] Simplify `MinMaxIntrinsic` (PR #75306)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 13 01:55:29 PST 2023


================
@@ -1260,14 +1267,12 @@ static void generateReproducer(CmpInst *Cond, Module *M,
   assert(!verifyFunction(*F, &dbgs()));
 }
 
-static std::optional<bool> checkCondition(CmpInst *Cmp, ConstraintInfo &Info,
+static std::optional<bool> checkCondition(CmpInst::Predicate Pred, Value *A,
----------------
fhahn wrote:

Could you submit a separate PR for this NFC refactoring to reduce the diff here?

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


More information about the llvm-commits mailing list