[Mlir-commits] [mlir] [MLIR] NFC. Refactor IntegerRelation getSliceBounds (PR #127308)
Uday Bondhugula
llvmlistbot at llvm.org
Sun Feb 16 19:27:55 PST 2025
================
@@ -738,6 +738,12 @@ 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;
----------------
bondhugula wrote:
I'll anyway improve the signature as you suggested in another PR - thanks.
https://github.com/llvm/llvm-project/pull/127308
More information about the Mlir-commits
mailing list