This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Add simple jupyter kernel
ClosedPublic

Authored by jpienaar on Jan 30 2021, 9:41 AM.

Details

Summary

Simple jupyter kernel using mlir-opt and reproducer to run passes. Useful for
local experimentation & generating examples. The export to markdown from here
is not immediately useful nor did I define a CodeMirror synax to make the HTML
output prettier. It only supports one level of history (e.g., _) as I was
mostly using with expanding a pipeline one pass at a time and so was all I
needed.

I placed this in utils directory next to editor & debugger utils.

Diff Detail

Event Timeline

jpienaar created this revision.Jan 30 2021, 9:41 AM
jpienaar requested review of this revision.Jan 30 2021, 9:41 AM
jpienaar updated this revision to Diff 323577.Feb 13 2021, 3:38 PM

Formatted js file using clang-format

stellaraccident accepted this revision.Feb 13 2021, 4:25 PM
This revision is now accepted and ready to land.Feb 13 2021, 4:25 PM
This revision was automatically updated to reflect the committed changes.