[llvm-commits] [llvm] r142958 - in /llvm/trunk/test/Bitcode: fbench-llvm-2.9.ll fbench-llvm-2.9.ll.bc spirit-llvm-2.9.ll spirit-llvm-2.9.ll.bc
Chad Rosier
mcrosier at apple.com
Tue Oct 25 13:33:19 PDT 2011
Author: mcrosier
Date: Tue Oct 25 15:33:19 2011
New Revision: 142958
URL: http://llvm.org/viewvc/llvm-project?rev=142958&view=rev
Log:
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.
Added:
llvm/trunk/test/Bitcode/fbench-llvm-2.9.ll
llvm/trunk/test/Bitcode/fbench-llvm-2.9.ll.bc (with props)
llvm/trunk/test/Bitcode/spirit-llvm-2.9.ll
llvm/trunk/test/Bitcode/spirit-llvm-2.9.ll.bc (with props)
Added: llvm/trunk/test/Bitcode/fbench-llvm-2.9.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Bitcode/fbench-llvm-2.9.ll?rev=142958&view=auto
==============================================================================
--- llvm/trunk/test/Bitcode/fbench-llvm-2.9.ll (added)
+++ llvm/trunk/test/Bitcode/fbench-llvm-2.9.ll Tue Oct 25 15:33:19 2011
@@ -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
Added: llvm/trunk/test/Bitcode/fbench-llvm-2.9.ll.bc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Bitcode/fbench-llvm-2.9.ll.bc?rev=142958&view=auto
==============================================================================
Binary file - no diff available.
Propchange: llvm/trunk/test/Bitcode/fbench-llvm-2.9.ll.bc
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: llvm/trunk/test/Bitcode/spirit-llvm-2.9.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Bitcode/spirit-llvm-2.9.ll?rev=142958&view=auto
==============================================================================
--- llvm/trunk/test/Bitcode/spirit-llvm-2.9.ll (added)
+++ llvm/trunk/test/Bitcode/spirit-llvm-2.9.ll Tue Oct 25 15:33:19 2011
@@ -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
Added: llvm/trunk/test/Bitcode/spirit-llvm-2.9.ll.bc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Bitcode/spirit-llvm-2.9.ll.bc?rev=142958&view=auto
==============================================================================
Binary file - no diff available.
Propchange: llvm/trunk/test/Bitcode/spirit-llvm-2.9.ll.bc
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
More information about the llvm-commits
mailing list