[LLVMdev] Does LLVM 3.5 works with IR from LLVM 3.0?

Gaoyao Xiao windxing2007 at gmail.com
Tue Jul 15 14:02:57 PDT 2014


On Tue, Jul 15, 2014 at 11:07 AM, Renato Golin <renato.golin at linaro.org>
wrote:

> On 15 July 2014 15:46, John Criswell <jtcriswel at gmail.com> wrote:
> > I believe LLVM 3.5 is supposed to be able to read bitcode files from LLVM
> > 3.0.
>
> Not having tests for that makes it really hard to be sure it works,
> and we didn't particularly kept it as a design goal throughout
> development since then.
>
> Things like how unions and structures are represented and marshaled,
> how functions are called (PCS) and more drastically debug metadata
> have changed so much that it'd be near impossible to read any
> reasonably sized 3.0 IR with the current tools.
>
It seems my test verifies you're correct that they are incompatible.
Thanks.

>
> cheers,
> --renato
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140715/5c57ed6d/attachment.html>


More information about the llvm-dev mailing list