[LLVMdev] Beignet Backend as an LLVM Target

Tom Stellard tom at stellard.net
Wed May 27 07:13:12 PDT 2015


On Wed, May 27, 2015 at 10:10:47AM +0200, Peter Fodrek wrote:
> Dear LLVM experts!
> 
> we would like to use BeignetBackend
> as and LLVM Target
> 
> It shown in teh Beignet code there is a note
> "Well, the complete code base is somehow a compiler backend for LLVM. 
> Here, we
> really speak about the final code generation passes that you may find in
> `src/backend`."
> http://www.freedesktop.org/wiki/Software/Beignet/Backend/compiler_backe
> nd/
> But Beignet does not work as an backend such as CBackend I was able to 
> transform to be compilable for LLVM3.3 in the past
> 
> Is there anybody ho recomend me howto port Beignet as a regular LLVM 
> target as shown in llc -version output,please
> 

Hi,

Here is the documentation for writing an LLVM backend:

http://llvm.org/docs/CodeGenerator.html
http://llvm.org/docs/WritingAnLLVMBackend.html

Note that this is not a trival task.

-Tom

> I look forward hearing form you.
> 
> Yours faithfully
> 
> Peter Fodrek
> 

> _______________________________________________
> 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