[Mlir-commits] [mlir] [MLIR] NFC. Improve API signature + clang-tidy warning in IntegerRelation (PR #128993)
Arjun P
llvmlistbot at llvm.org
Fri Feb 28 04:57:12 PST 2025
================
@@ -738,11 +738,11 @@ class IntegerRelation {
/// Same as findSymbolicIntegerLexMin but produces lexmax instead of lexmin
SymbolicLexOpt findSymbolicIntegerLexMax() const;
- /// Searches for a constraint with a non-zero coefficient at `colIdx` in
- /// equality (isEq=true) or inequality (isEq=false) constraints.
- /// Returns true and sets row found in search in `rowIdx`, false otherwise.
- bool findConstraintWithNonZeroAt(unsigned colIdx, bool isEq,
- unsigned *rowIdx) const;
+ /// Finds a constraint with a non-zero coefficient at `colIdx` in equality
+ /// (isEq=true) or inequality (isEq=false) constraints. Returns the position
+ /// of the row if it was found or none.
----------------
Superty wrote:
or none otherwise.
https://github.com/llvm/llvm-project/pull/128993
More information about the Mlir-commits
mailing list