[LLVMdev] help writing an IR targeting backend

Joshua Cranmer pidgeot18 at gmail.com
Wed Oct 31 15:13:29 PDT 2012

On 10/30/2012 6:32 PM, Humphreys, Jonathan wrote:
> I’ve got a newbie question and am looking for some pointers.  I want 
> to implement a backend that targets another compiler IR format.  
> Looking through the backend documentation, the infrastructure is 
> stated to be flexible enough to do this (and refers to a hypothetical 
> GCC IR backend).  However, all of the documentation I’ve run across 
> addresses actual ISA targets.  Is there any documentation or examples 
> of IR targeting backends?

The closest example I can think of is the NVPTX backend, whose output 
format uses virtual registers (although it doesn't really have any 
types, IIRC).

Joshua Cranmer
News submodule owner
DXR coauthor

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121031/e14445a7/attachment.html>

More information about the llvm-dev mailing list