IR: Add a broad bitcode compatibility test
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 31 Jul 2015 20:44:32 +0000 (20:44 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 31 Jul 2015 20:44:32 +0000 (20:44 +0000)
commit82e3e48d52e1cbddf3835fb540699542b6af0f9b
tree5329e6054c3e1f70d965c15cbeec36ddc38451b4
parent09e26a42d2ad562eafe4fdb35dd4dd090e726f5d
IR: Add a broad bitcode compatibility test

Successive versions of LLVM should retain the ability to parse bitcode
generated by old releases of the compiler.  This adds a bitcode format
compatibility test, which is intended to provide good (albeit not
entirely exhaustive) coverage of the current LangRef.

This also includes compatibility tests for LLVM 3.6.  After every 3.X.0
release, the compatibility.ll file from the 3.X branch should be copied
to compatibility-3.X.ll on trunk, and the 3.X.0 release used to generate
a corresponding bitcode file.

Patch by Vedant Kumar!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243779 91177308-0d34-0410-b5e6-96231b3b80d8
docs/DeveloperPolicy.rst
test/Bitcode/compatibility-3.6.ll [new file with mode: 0644]
test/Bitcode/compatibility-3.6.ll.bc [new file with mode: 0644]
test/Bitcode/compatibility.ll [new file with mode: 0644]