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.
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
cd build/bin
./app