Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 722 Bytes

File metadata and controls

24 lines (20 loc) · 722 Bytes

Arith to LLVM Conversion

This branch contains the code and resources for the blog post on Converting Arith to LLVM using MLIR. The blog explores how to implement a simple conversion pass in MLIR to lower operations from the arith dialect to the llvm dialect, enabling efficient code generation for LLVM-based backends.

Building the Project

Clone the repository and switch to this branch:

git clone https://github.com/johnmaxrin/BlogCodeBase.git
cd BlogCodeBase
git checkout arith2llvm

Build the project using CMake:

mkdir build && cd build
cmake .. && make

How to Run

cd build/bin
./app