LLVM Dialect for pliron
This crate provides the following functionality:
- Dialect definitions of LLVM ops, types and attributes.
- A wrapper around llvm-sys converting to and from our LLVM dialect. This requires LLVM to be installed locally.
We currently support LLVM-23 and it needs to be on your computer.
For installing on Debian / Ubuntu, it is recommended to use the
automatic installation script. If you
prefer to install individual packages, you will need libllvm23,
llvm-23-dev, llvm-23-tools, clang-23, libpolly-23-dev, etc.
pliron-llvm also provides an llvm-opt tool.