This is an archive of the discontinued LLVM Phabricator instance.

[mlir][emacs] Enable loading bytecode files as text
ClosedPublic

Authored by jpienaar on Sep 14 2022, 11:00 AM.

Details

Summary

Use auto-compression-mode to read bytecode files in human readable
manner.

Diff Detail

Event Timeline

jpienaar created this revision.Sep 14 2022, 11:00 AM
jpienaar requested review of this revision.Sep 14 2022, 11:00 AM
okkwon accepted this revision.Sep 14 2022, 11:05 AM

It works great. Thanks!

This revision is now accepted and ready to land.Sep 14 2022, 11:05 AM
rriddle added inline comments.Sep 14 2022, 11:08 AM
mlir/utils/emacs/mlir-mode.el
87

This will drop locations, which would be lossy.

jpienaar added inline comments.Sep 16 2022, 1:58 PM
mlir/utils/emacs/mlir-mode.el
87

Good point, adding location printing.

This revision was automatically updated to reflect the committed changes.