[LLVMdev] [LLVMDev] Does our own developed module and functions can go along with the future improved version of LLVM?

Reid Kleckner rnk at mit.edu
Tue Jan 12 09:05:27 PST 2010


On Tue, Jan 12, 2010 at 3:27 AM, Duncan Sands <baldrick at free.fr> wrote:
> Hi Minwook Ahn,
>
>> We want to build our compiler based on LLVM by adding our own modules
>> and functions
>>
>> which are specific to the features of our processor hardware.
>
> do you mean that you have files containing bitcode which contain useful
> routines for your processor, and that you use like a library?

I think the question was, can they write their own backend for LLVM (a
new Target) and will their code automatically work with future
releases of LLVM.

In that case, the answer is yes, you can develop your own backend, but
no, LLVM does not provide API stability.  As new versions of LLVM are
released you would have to update your code to the new API or stay
with the old version of LLVM.

Reid



More information about the llvm-dev mailing list