1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/Bitcode
Jan Wen Voung fc87609127 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.

llvm-svn: 165739
2012-10-11 20:20:40 +00:00
..
2006-12-11-Cast-ConstExpr.ll
2009-06-11-FirstClassAggregateConstant.ll
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
blockaddress.ll BitcodeReader: Correctly insert blockaddress constant referring to a already parsed function. 2012-09-21 14:34:31 +00:00
extractelement.ll
flags.ll
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
metadata-2.ll
metadata.ll
null-type.ll
null-type.ll.bc
ptest-new.ll
ptest-old.ll
shuffle.ll
ssse3_palignr.ll