This patch replaces various functions over inequalities/equalities in
IntegerPolyhedron with Matrix functions already implementing them or refactors
them to a Matrix function.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/include/mlir/Analysis/Presburger/Matrix.h | ||
---|---|---|
126 | nCols would be clearer | |
126 | The meaning of normalize is not clear in this context. Maybe just write, divide the first nCols cols of row by its gcd. | |
mlir/lib/Analysis/Presburger/IntegerPolyhedron.cpp | ||
836–837 | The order of these is switched now, please update the comment accordingly | |
838 | Can just call it gcd now, there is no other gcd left | |
mlir/lib/Analysis/Presburger/Matrix.cpp | ||
216–222 | Why not just declare gcd as an int64_t and use llvm::greatestCommonDivisor? |
mlir/include/mlir/Analysis/Presburger/Matrix.h | ||
---|---|---|
127 | Please update this comment too |
nCols would be clearer