diff options
author | Chad Rosier <mcrosier@apple.com> | 2011-10-25 20:33:19 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2011-10-25 20:33:19 +0000 |
commit | 847915d63affbec8eb062eca2595ee6a762f2332 (patch) | |
tree | 17b1df14393dacf78b1c84fbf203e654a960e7cb /test/Bitcode | |
parent | ca30f75703fa4f032b256bba445608c79e2bd82c (diff) | |
download | external_llvm-847915d63affbec8eb062eca2595ee6a762f2332.zip external_llvm-847915d63affbec8eb062eca2595ee6a762f2332.tar.gz external_llvm-847915d63affbec8eb062eca2595ee6a762f2332.tar.bz2 |
Add a few test cases to ensure the bitcode reader is backward compatible with
LLVM 2.9. My understanding is that we plan to maintain compatibility with 2.9
until the 3.1 release. At that time we can generate new test cases using LLVM
3.0.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142958 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Bitcode')
-rw-r--r-- | test/Bitcode/fbench-llvm-2.9.ll | 5 | ||||
-rw-r--r-- | test/Bitcode/fbench-llvm-2.9.ll.bc | bin | 0 -> 6096 bytes | |||
-rw-r--r-- | test/Bitcode/spirit-llvm-2.9.ll | 5 | ||||
-rw-r--r-- | test/Bitcode/spirit-llvm-2.9.ll.bc | bin | 0 -> 1595424 bytes |
4 files changed, 10 insertions, 0 deletions
diff --git a/test/Bitcode/fbench-llvm-2.9.ll b/test/Bitcode/fbench-llvm-2.9.ll new file mode 100644 index 0000000..5887691 --- /dev/null +++ b/test/Bitcode/fbench-llvm-2.9.ll @@ -0,0 +1,5 @@ +; This isn't really an assembly file. It just runs the test on the bitcode to +; ensure bitcode file backward compatibility. No need for FileCheck as the +; BitcodeReader will fail with an assert if broken. This test case was +; generated using a clang binary, based on LLVM 2.9, downloaded from llvm.org. +; RUN: llvm-dis < %s.bc > /dev/null diff --git a/test/Bitcode/fbench-llvm-2.9.ll.bc b/test/Bitcode/fbench-llvm-2.9.ll.bc Binary files differnew file mode 100644 index 0000000..d2ebbe5 --- /dev/null +++ b/test/Bitcode/fbench-llvm-2.9.ll.bc diff --git a/test/Bitcode/spirit-llvm-2.9.ll b/test/Bitcode/spirit-llvm-2.9.ll new file mode 100644 index 0000000..5887691 --- /dev/null +++ b/test/Bitcode/spirit-llvm-2.9.ll @@ -0,0 +1,5 @@ +; This isn't really an assembly file. It just runs the test on the bitcode to +; ensure bitcode file backward compatibility. No need for FileCheck as the +; BitcodeReader will fail with an assert if broken. This test case was +; generated using a clang binary, based on LLVM 2.9, downloaded from llvm.org. +; RUN: llvm-dis < %s.bc > /dev/null diff --git a/test/Bitcode/spirit-llvm-2.9.ll.bc b/test/Bitcode/spirit-llvm-2.9.ll.bc Binary files differnew file mode 100644 index 0000000..bf8cf49 --- /dev/null +++ b/test/Bitcode/spirit-llvm-2.9.ll.bc |