[all-commits] [llvm/llvm-project] 5e3cbb: [mlir][Interfaces] `ValueBoundsConstraintSet`: Add...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Tue Mar 26 18:48:31 PDT 2024
Branch: refs/heads/users/matthias-springer/value_bounds_dump
Home: https://github.com/llvm/llvm-project
Commit: 5e3cbbd4a2c725b785609f0ab164b717dc3f02a6
https://github.com/llvm/llvm-project/commit/5e3cbbd4a2c725b785609f0ab164b717dc3f02a6
Author: Matthias Springer <springerm at google.com>
Date: 2024-03-27 (Wed, 27 Mar 2024)
Changed paths:
M mlir/include/mlir/Interfaces/ValueBoundsOpInterface.h
M mlir/lib/Interfaces/ValueBoundsOpInterface.cpp
Log Message:
-----------
[mlir][Interfaces] `ValueBoundsConstraintSet`: Add `dump` helper function
This commit adds a helper function that dumps the constraint set and the mapping of columns to values/dims. For debugging only.
Example output:
```
Columns:
column dim value owner
0 1 linalg.fill
1 1 tensor.extract_slice
2 n/a affine.min
3 n/a scf.for
4 n/a func.func
Constraint set:
Domain: 0, Range: 1, Symbols: 4, Locals: 0
6 constraints
(None None None None None const)
1 -1 0 0 0 0 = 0
0 1 -1 0 0 0 = 0
0 0 -1 -1 1 0 >= 0
0 0 -1 0 0 4 >= 0
0 0 0 1 0 0 >= 0
0 0 0 -1 1 -1 >= 0
```
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list