Updated dialect chart?


Is there an updated chart of the MLIR dialects?
A very nice one can be found in https://mlir.llvm.org/docs/Dialects/Vector/ but it’s outdated, with some dialects having changed their name (loop->scf) and many others having popped up into existence.

I really liked in the existing figure the layered structuring, with specific structures and code transformations corresponding to each layer.

Best regards,

I think we are overdue to update it (potentially having one using graphviz or the like checked in and where folks from the community could add efforts even if external to llvm repo could be interesting!).

– Jacques

Another related question: in the description of the linalg dialect (link below), there is a chart covering a full compiler, linalg being the implementaiton of a specific box (HHO = High-level hierarchical optimization).

Where is this chart taken from?


It was derived from this talk: https://docs.google.com/presentation/d/1M44If0Lw2lnrlyE_xNU1WOmXWxLo9FibMwdUbrAhOhU/edit#slide=id.g5fd22bdf8c_0_0

See “2020-01-24: Thoughts on Tensor Code Generation in MLIR” on https://mlir.llvm.org/talks/

1 Like