[LLVMdev] Removing types from metadata

Reid Kleckner rnk at google.com
Fri Dec 19 11:40:00 PST 2014

Backwards compatibility with the LLVM IR textual format is not guaranteed,
while bitcode compatibility is. You can probably load up that old IR by
assembling it with an old llvm-as and loading the bitcode in new clang.

That said, if it's just a matter of skipping over the 'metadata' token, it
would be nice to let old IR assemble.

On Fri, Dec 19, 2014 at 10:59 AM, Tom Stellard <tom at stellard.net> wrote:
> Hi,
> Types were recently removed from metadata in the IR, which means older
> LLVM IR code with metadata won't compile.  Was this intentional?
> Is there a practical way to maintain compatibility with older LLVM IR?
> Thanks,
> Tom
> _______________________________________________
> 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/20141219/6112f0a5/attachment.html>

More information about the llvm-dev mailing list