[PATCH] Bitcode: Add bitcode format compatibility test

Vedant Kumar vsk at apple.com
Fri Jul 31 10:22:59 PDT 2015


> LangRef might work, but it would probably be lost among all the stuff there; the argument could also be made that LangRef is basically about the IR itself, but this content is more about development process/tasks.

I buy that argument.

> http://llvm.org/docs/DeveloperPolicy.html#ir-backwards-compatibility is another possibility, which I'm leaning towards, since this is all in connection with compatibility.
> 
> Another possibility is to add it as an explicit task in http://llvm.org/docs/HowToReleaseLLVM.html, but that may implicitly put the burden of doing this on the release manager, which may not be intended (maybe could be added as "track down somebody to do this once we've branched"?).

HowToReleaseLLVM seems a bit high-level for this sort of task. I think the DeveloperPolicy document is a good place.

Here's the wording I picked:

> * The bitcode format produced by a X.Y release will be readable by all
>   following X.Z releases and the (X+1).0 release. To help ensure this, an X.Y
>   version of ``test/Bitcode/compatibility.ll`` should be assembled and
>   committed before each release.


I updated the file paths and comments per Duncan's suggestion. Updated patch attached.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bccompat-submit.patch
Type: application/octet-stream
Size: 103725 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150731/c0aefe7f/attachment.obj>


More information about the llvm-commits mailing list