vizmlir

sample.mlir Workspace Docs built with care for compiler explorers
IR — —
↑↓ move ↵ open esc close

Samples

Real mlir-opt output, to see how VizMLIR handles your own pipeline before you bring your files. Loading one replaces the workspace; save it first under Sessions if you want to keep it.

Sessions

Saved in this browser only (IndexedDB). Nothing is uploaded. Your workspace also autosaves and comes back after a reload.

Keyboard shortcuts

⌘K /
Jump to a pass, op, symbol, or action
[ ]
Previous / next pass in a trace
j k
Next / previous change
x · shift/⌘ click
Pick changes (esc clears)
c
Copy picked changes (or the current one) as a patch
f
Fit graph to view
+ -
Zoom graph in / out
t
Switch baseline / current tab
s
Split: show both sources
p
Pass timing and memory
m
Show / hide the menu
shift L
Switch light / dark theme
esc
Leave the editor so shortcuts work
?
This list

Pass timing and memory

From the log's -mlir-timing report. Nested passes show one total across every op they ran on. mlir-opt does not measure memory per pass; peak memory is the whole process, read from /usr/bin/time output when the log includes it.