[mlir][Affine][NFC] Improve FlatAffineValueConstraint dump
authorMatthias Springer <me@m-sp.org>
Mon, 27 Feb 2023 09:37:02 +0000 (10:37 +0100)
committerMatthias Springer <me@m-sp.org>
Tue, 28 Feb 2023 08:23:13 +0000 (09:23 +0100)
commit3f9b0446f9a7595486233e2f70b57d903988442f
treef2170dd6541435569c5f3f929072e93bf250bd17
parent10cee821202b17ba4da6ed36ac3101a1ae81fdcd
[mlir][Affine][NFC] Improve FlatAffineValueConstraint dump

Improve indentation for better readability.

Before:
```
Domain: 0, Range: 2, Symbols: 2, Locals: 1
5 constraints
(None Value Value Value Local const)
1 1 0 -1 0 0 = 0
0 1 -1 0 0 0 >= 0
0 0 1 -1 2 2 >= 0
0 0 -1 1 -2 -1 >= 0
0 -1 1 0 2 0 >= 0
```

After:
```
Domain: 0, Range: 2, Symbols: 2, Locals: 1
5 constraints
(None Value Value Value Local const)
 1 1 0 -1 0 0 = 0
 0 1 -1 0 0 0 >= 0
 0 0 1 -1 2 2 >= 0
 0 0 -1 1 -2 -1 >= 0
 0 -1 1 0 2 0 >= 0
```

Differential Revision: https://reviews.llvm.org/D144854
mlir/lib/Analysis/Presburger/IntegerRelation.cpp
mlir/lib/Dialect/Affine/Analysis/AffineStructures.cpp