[all-commits] [llvm/llvm-project] 3f9b04: [mlir][Affine][NFC] Improve FlatAffineValueConstra...

Matthias Springer via All-commits all-commits at lists.llvm.org
Tue Feb 28 00:23:31 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f9b0446f9a7595486233e2f70b57d903988442f
      https://github.com/llvm/llvm-project/commit/3f9b0446f9a7595486233e2f70b57d903988442f
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-02-28 (Tue, 28 Feb 2023)

  Changed paths:
    M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
    M mlir/lib/Dialect/Affine/Analysis/AffineStructures.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list