forked from OSchip/llvm-project
0a8e12fdbb
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 |
||
---|---|---|
.. | ||
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 | ||
attributes-3.3.ll.bc | ||
attributes.ll | ||
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 | ||
ptest-old.ll | ||
shuffle.ll | ||
ssse3_palignr.ll |