1. Mar 26, 2024
    • Matthias Springer's avatar
      [mlir][Interfaces] `ValueBoundsConstraintSet`: Add `dump` helper function · 74216957
      Matthias Springer authored
      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
      
      ```
      74216957
  2. Mar 22, 2024