An AVR Backend To LLVM Is Working Towards Being Mainlined
Written by Michael Larabel in LLVM on 30 September 2015 at 05:39 PM EDT. Add A Comment
Earlier this month was an inquiry to upstream LLVM developers about including an Atmel AVR back-end in the mainline repository, which up to now has been developed out of tree. LLVM developers are now discussing this back-end and it's looking like it may be added once reviewed.

The now-active mailing list thread can be found here. Dylan McKay has been working on an AVR back-end for LLVM over the past few months and he's hoping to now mainline the code.

This back-end is for targeting the Atmel AVR 8-bit RISC micro-controller that's been around since the late 90s. AVR devices have found their way into a wide range of applications across multiple industries. The popular Arduino micro-controller is one such device based on the megaAVR family.

The current AVR-LLVM back-end is capable of generating Assembly files and ELF object files for the architecture. Those wishing to see the current out-of-tree work on the AVR LLVM back-end can find it on GitHub. Prior to being accepted into mainline LLVM, all of the code must go through a review process, after which it will initially be marked as an "experimental" back-end inside LLVM.
Related News
About The Author
Author picture

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter or contacted via

Popular News This Week