IRILL - Research and Innovation on Free Software

How to implement an LLVM Assembler - a tutorial


"How to implement an LLVM Assembler - a tutorial"
by Simon Cook - Embecosm,
on 2013-04-29 00:00:00
Download Webm format
Download MP4 format

During late 2012, working with colleague from the OpenCores project, the speaker implemented a full LLVM assembler for the OpenRISC 1000 architecture. This assembler was subsequently integrated into the main OpenRISC LLVM compiler tool chain. The details of how to do this were written up as Embecosm application note 11, since shared on the main LLVM website. In this talk the speaker will explain how to build an LLVM assembler, test it and integrate it into a the LLVM compiler tool chain. The talk will consider the benefits that come from using an integrated LLVM assembler rather than a GNU binutils standalone assembler.