[Mlir-commits] [mlir] Add a tutorial on mlir-opt (PR #96105)
Mehdi Amini
llvmlistbot at llvm.org
Wed Jun 19 14:18:44 PDT 2024
================
@@ -0,0 +1,432 @@
+# Using `mlir-opt`
+
+`mlir-opt` is the command-line entry point for running passes and lowerings on MLIR code.
+This tutorial will explain how to use `mlir-opt` to run passes, and explain
+some details about MLIR's built-in dialects along the way.
+
+Prerequisites:
+
+- [Building MLIR from source](/getting_started/)
+
+[TOC]
+
+## Overview
+
+We start with a brief summary of context that helps to frame
+the uses of `mlir-opt` detailed in this article.
+For a deeper dive on motivation and design,
+see [the MLIR paper](https://arxiv.org/abs/2002.11054).
+
+Two of the central concepts in MLIR are *dialects* and *lowerings*.
----------------
joker-eph wrote:
```suggestion
Two of the central concepts in MLIR are *[dialects](/docs/LangRef/#dialects)* and *lowerings*.
```
Not sure that "lowering" is really a concept that needs to be introduced in a mlir-opt documentation.
https://github.com/llvm/llvm-project/pull/96105
More information about the Mlir-commits
mailing list