Skip to content

[Pass] Fix printer formatting for PassInfo#10844

Merged
AndrewZhaoLuo merged 2 commits intoapache:mainfrom
quic-sanirudh:passinfo_printing
Apr 1, 2022
Merged

[Pass] Fix printer formatting for PassInfo#10844
AndrewZhaoLuo merged 2 commits intoapache:mainfrom
quic-sanirudh:passinfo_printing

Conversation

@quic-sanirudh
Copy link
Contributor

The format of the printed PassInfoNode was difficult to read as there
was no separation between the different attributes of the node

Before this change, PassInfo is printed as:

The meta data of the pass: pass name: tir.ApplyLayoutTransformsopt_level: 0required passes: [
]

After this change, PassInfo is printed as:

The meta data of the pass - pass name: tir.ApplyLayoutTransforms, opt_level: 0, required passes: []

The format of the printed PassInfoNode was difficult to read as there
was no separation between the different attributes of the node

Before this change, PassInfo is printed as:
The meta data of the pass: pass name: tir.ApplyLayoutTransformsopt_level: 0required passes: [
]

After this change, PassInfo is printed as:
The meta data of the pass - pass name: tir.ApplyLayoutTransforms, opt_level: 0, required passes: []
@AndrewZhaoLuo AndrewZhaoLuo merged commit 4a13543 into apache:main Apr 1, 2022
@quic-sanirudh quic-sanirudh deleted the passinfo_printing branch April 1, 2022 18:31
pfk-beta pushed a commit to pfk-beta/tvm that referenced this pull request Apr 11, 2022
* [Pass] Fix printer formatting for PassInfo

The format of the printed PassInfoNode was difficult to read as there
was no separation between the different attributes of the node

Before this change, PassInfo is printed as:
The meta data of the pass: pass name: tir.ApplyLayoutTransformsopt_level: 0required passes: [
]

After this change, PassInfo is printed as:
The meta data of the pass - pass name: tir.ApplyLayoutTransforms, opt_level: 0, required passes: []

* Restart CI
mehrdadh pushed a commit to mehrdadh/tvm that referenced this pull request Apr 11, 2022
* [Pass] Fix printer formatting for PassInfo

The format of the printed PassInfoNode was difficult to read as there
was no separation between the different attributes of the node

Before this change, PassInfo is printed as:
The meta data of the pass: pass name: tir.ApplyLayoutTransformsopt_level: 0required passes: [
]

After this change, PassInfo is printed as:
The meta data of the pass - pass name: tir.ApplyLayoutTransforms, opt_level: 0, required passes: []

* Restart CI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants