This repository has been archived by the owner. It is now read-only.
[MERGED UPSTREAM] AVR backend for the LLVM compiler library
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


This repository has been merged into upstream llvm. Development now occurs directly in LLVM trunk, while this repository exists here solely as an archive of old work and issues.

At this point in time, no changes or commits are added or otherwise backported to this repository.

In order to compile stock LLVM will AVR support enabled, -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=AVR must be passed to CMake.

Compiling the up-to-date backend from upstream LLVM

# Clone the LLVM repository
git clone

# optionally clone clang into the 'tools' folder for C/C++ compiler support
git clone llvm/tools/clang

# where we want to place object files/executables
mkdir build && cd build

# Run CMake to generate makefiles

# Compile everything

Once this is done, you will have a number executables in build/bin.

Viewing the historic avr-llvm fork

This repository contains a few years of development issues, pull requests, and branches prior to the merge of the backend into LLVM trunk.

The old development branch is named avr-support.

There is a master branch that points to the upstream LLVM commit that avr-support is based on.