-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from lambdaclass/fix
prog
- Loading branch information
Showing
4 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Summary | ||
|
||
- [Workshop Intro: About MLIR and LLVM](./about.md) | ||
- [LLVM IR](./llvmir.md) | ||
- [MLIR Basics](./mlir_basics.md) | ||
- [Implementing the language: Part 1](./lang_1.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Implementing the language: 1 | ||
|
||
## Project Setup | ||
|
||
### Dependencies | ||
- Rust | ||
- LLVM and MLIR | ||
|
||
To install LLVM and MLIR you can do so through brew: | ||
|
||
`brew install llvm@19` (This workshop uses LLVM/MLIR 19) | ||
|
||
```bash | ||
brew install llvm@19 | ||
git clone https://github.com/lambdaclass/mlir-workshop | ||
cd mlir-workshop | ||
``` | ||
|
||
For melior to find the library, we need to setup some env vars (tip, you can add them to `.zshenv`): | ||
```bash | ||
export MLIR_SYS_190_PREFIX="$(brew --prefix llvm@19)" | ||
export LLVM_SYS_191_PREFIX="$(brew --prefix llvm@19)" | ||
export TABLEGEN_190_PREFIX="$(brew --prefix llvm@19)" | ||
``` | ||
|
||
TODO |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# MLIR and melior Basics | ||
|
||
To use MLIR with Rust, the following library is used: <https://github.com/mlir-rs/melior> | ||
|
||
This page explains a bit how to use it. | ||
|
||
## The Context | ||
|
||
## Module | ||
|
||
## Operation | ||
|
||
## Region | ||
|
||
## Block |