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

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 22 06:56:20 PST 2024


================
@@ -1392,6 +1396,31 @@ static bool checkAndReplaceCondition(
   return false;
 }
 
+static bool checkAndReplaceMinMax(MinMaxIntrinsic *MinMax, ConstraintInfo &Info,
+                                  unsigned NumIn, unsigned NumOut,
+                                  Instruction *ContextInst, DominatorTree &DT,
----------------
nikic wrote:

Rebase over https://github.com/llvm/llvm-project/commit/ebb853fbe5f67ab42d78de45bbcb7b32b6323fb1 please, and remove other unused params.

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


More information about the llvm-commits mailing list