llvm-project/llvm/test/Bitcode
Tobias Grosser 0a8e12fdbb Make .bc en/decoding of AttrKind stable
The bitcode representation attribute kinds are encoded into / decoded from
should be independent of the current set of LLVM attributes and their position
in the AttrKind enum. This patch explicitly encodes attributes to fixed bitcode
values.

With this patch applied, LLVM does not silently misread attributes written by
LLVM 3.3. We also enhance the decoding slightly such that an error message is
printed if an unknown AttrKind encoding was dected.

Bonus: Dropping bitcode attributes from AttrKind is now easy, as old AttrKinds
       do not need to be kept to support the Bitcode reader.
llvm-svn: 187186
2013-07-26 04:16:55 +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
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-3.3.ll Make .bc en/decoding of AttrKind stable 2013-07-26 04:16:55 +00:00
attributes-3.3.ll.bc Make .bc en/decoding of AttrKind stable 2013-07-26 04:16:55 +00:00
attributes.ll Add some uncovered attribute tests 2013-07-17 22:13:44 +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
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 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
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
ptest-new.ll Modify the LLVM assembly output so that it uses references to represent function attributes. 2013-02-20 07:21:42 +00:00
ptest-old.ll Modify the LLVM assembly output so that it uses references to represent function attributes. 2013-02-20 07:21:42 +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