llvm-mirror/test/Bitcode
Tobias Grosser b5e2eb015b 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
2009-06-11-FirstClassAggregateConstant.ll
2012-05-07-SwitchInstRangesSupport.ll
arm32_neon_vcnt_upgrade.ll
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
extractelement.ll
flags.ll
function-encoding-rel-operands.ll
lit.local.cfg
metadata-2.ll
metadata.ll
null-type.ll
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
ssse3_palignr.ll