llvm/test/Bitcode
Jan Wen Voung d9a3bad448 Change encoding of instruction operands in bitcode binaries to be relative
to the instruction position.  The old encoding would give an absolute
ID which counts up within a function, and only resets at the next function.

I.e., Instead of having:

... = icmp eq i32 n-1, n-2
br i1 ..., label %bb1, label %bb2

it will now be roughly:

... = icmp eq i32 1, 2
br i1 1, label %bb1, label %bb2

This makes it so that ids remain relatively small and can be encoded
in fewer bits.

With this encoding, forward reference operands will be given
negative-valued IDs.  Use signed VBRs for the most common case
of forward references, which is phi instructions.

To retain backward compatibility we bump the bitcode version
from 0 to 1 to distinguish between the different encodings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165739 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-11 20:20:40 +00:00
..
2006-12-11-Cast-ConstExpr.ll Fix test cases that were previously using grep to use FileCheck 2011-05-28 00:15:10 +00:00
2009-06-11-FirstClassAggregateConstant.ll Don't remove aggregate-typed module level constants before encoding functions 2009-06-12 05:20:12 +00:00
2012-05-07-SwitchInstRangesSupport.ll Fixed diff comparison. 2012-07-11 21:02:57 +00:00
arm32_neon_vcnt_upgrade.ll More replacing of target-dependent intrinsics with target-indepdent 2012-07-18 00:02:16 +00:00
attributes.ll PR12696: Attribute bits above 1<<30 are not encoded in bitcode 2012-05-28 15:45:43 +00:00
blockaddress.ll BitcodeReader: Correctly insert blockaddress constant referring to a already parsed function. 2012-09-21 14:34:31 +00:00
extractelement.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
flags.ll Fix the bitcode reader to deserialize nuw/nsw/etc. bits properly in the case 2010-01-25 21:55:39 +00:00
function-encoding-rel-operands.ll Change encoding of instruction operands in bitcode binaries to be relative 2012-10-11 20:20:40 +00:00
lit.local.cfg Replace all instances of dg.exp file with lit.local.cfg, since all tests are run with LIT now and now Dejagnu. dg.exp is no longer needed. 2012-02-16 06:28:33 +00:00
metadata-2.ll Remove support for parsing the "type i32" syntax for defining a numbered 2011-06-19 00:03:46 +00:00
metadata.ll Remove obsolete -f flags. 2009-08-25 15:38:29 +00:00
null-type.ll Make tests which first provide a negative assertion via 'not', then 2012-07-02 12:23:19 +00:00
null-type.ll.bc Testcase for PR8494 (invalid bitcode crashing the bitcode reader). 2010-10-28 15:57:30 +00:00
ptest-new.ll Add AutoUpgrade support for the SSE4 ptest intrinsics. 2012-06-10 18:42:51 +00:00
ptest-old.ll Add AutoUpgrade support for the SSE4 ptest intrinsics. 2012-06-10 18:42:51 +00:00
shuffle.ll The bitcode reader can create an shuffle with a place holder mask which it will 2011-10-26 00:34:48 +00:00
ssse3_palignr.ll Simplify tests by not piping them through llvm-dis. 2011-10-25 19:59:50 +00:00