This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Format bufferization debug print outs (NFC).
ClosedPublic

Authored by gysit on Jul 23 2021, 6:45 AM.

Details

Summary

Change the formatting of the debug print outs to elide unnecessary information.

Diff Detail

Event Timeline

gysit created this revision.Jul 23 2021, 6:45 AM
gysit requested review of this revision.Jul 23 2021, 6:45 AM
gysit added a comment.Jul 23 2021, 6:48 AM

@nicolasvasilache an easier solution maybe to use the normal value printer and drop anything except for the first line. However, readability is still somewhat limited.

gysit updated this revision to Diff 362731.Jul 29 2021, 5:41 AM
  • Add method to print operation info
  • Use printing methods more widely
nicolasvasilache accepted this revision.Jul 29 2021, 7:46 AM

Nice, thanks for the QoL improvements!

This revision is now accepted and ready to land.Jul 29 2021, 7:46 AM
This revision was automatically updated to reflect the committed changes.