[LLVMdev] Creating a tablegen backend

Villmow, Micah Micah.Villmow at amd.com
Thu Aug 19 14:17:58 PDT 2010


Durward,
 Why not use LLVM-IR as your 'generic assembly'? 

Micah

> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
> On Behalf Of Durward McDonell
> Sent: Thursday, August 19, 2010 2:02 PM
> To: llvmdev at cs.uiuc.edu
> Subject: [LLVMdev] Creating a tablegen backend
> 
> Hello.
> 
> I would like to create a new backend for tablegen that produces code in
> an generic assembly language (not for a real processor).  The
> documentation
> page for this says "ToDo", but I think what I want to do is something
> similar
> to CodeGenDAGPatterns::ParseInstructions() in CodeGenDAGPatterns.cpp.
> Is this even vaguely correct?  Any pointers would be appreciated.
> 
> I'm specifically interested in translating X86 into this other
> language, but
> getting other processors for free in the process would be great.
> 
> --
> Durward McDonell
> durward.mcdonell at gmail.com
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev






More information about the llvm-dev mailing list