[LLVMdev] How to send LLVM IR to a code generator backend
Villmow, Micah
Micah.Villmow at amd.com
Fri Jul 29 14:27:26 PDT 2011
You can register your backend with LLC and use the LLC tool to convert from IR to ISA.
More information can be found here:
http://llvm.org/docs/WritingAnLLVMBackend.html#TargetRegistration
http://llvm.org/cmds/llc.html
> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
> On Behalf Of Tom Stellard
> Sent: Friday, July 29, 2011 1:15 PM
> To: llvmdev at cs.uiuc.edu
> Subject: [LLVMdev] How to send LLVM IR to a code generator backend
>
> Hi,
>
> I have implemented a very simple code generator backend, that I would
> like to test. I currently have a Module object containing the LLVM IR
> that I would like to turn into machine code, but I'm not quite sure how
> to pass it off to the backend to do the instruction selection and begin
> the process of code generation. How do I go about doing this?
>
> Thanks,
> Tom
> _______________________________________________
> 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