[Mlir-commits] [mlir] [MLIR][Presburger] Add enum based dispatch for isEmpty (PR #93010)

Benjamin Maxwell llvmlistbot at llvm.org
Tue Jun 4 11:38:40 PDT 2024


================
@@ -34,6 +34,20 @@ struct SymbolicLexOpt;
 /// The type of bound: equal, lower bound or upper bound.
 enum class BoundType { EQ, LB, UB };
 
+/// The kind of solver to use for emptiness check.
+/// TODO: We should have some docs to explain the user what kind of solver
+/// should fit best for their use case.
+enum class SolverKind {
+  // Integer Exact algorithm.
+  IntegerSimplex,
+  // Rational Exact algorithm.
+  RationalSimplex,
+  // Rationly Exact algorithm.
----------------
MacDue wrote:

Typo?
```suggestion
  // Rational Exact algorithm.
```

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


More information about the Mlir-commits mailing list