This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Affine][NFC] Improve FlatAffineValueConstraint dump
ClosedPublic

Authored by springerm on Feb 27 2023, 1:38 AM.

Details

Summary

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

Diff Detail

Event Timeline

springerm created this revision.Feb 27 2023, 1:38 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 27 2023, 1:38 AM
springerm requested review of this revision.Feb 27 2023, 1:38 AM
Herald added a project: Restricted Project. · View Herald Transcript
springerm retitled this revision from [rc mlir][Affine][NFC] Improve FlatAffineValueConstraint dump to [mlir][Affine][NFC] Improve FlatAffineValueConstraint dump.Feb 27 2023, 1:40 AM
arjunp accepted this revision.Feb 27 2023, 7:43 AM
This revision is now accepted and ready to land.Feb 27 2023, 7:43 AM