PR12696: Attribute bits above 1<<30 are not encoded in bitcode
authorMeador Inge <meadori@gmail.com>
Mon, 28 May 2012 15:45:43 +0000 (15:45 +0000)
committerMeador Inge <meadori@gmail.com>
Mon, 28 May 2012 15:45:43 +0000 (15:45 +0000)
commite99f8be067b6f2c19058d0f6307e96287a94f55d
treedae609a68c8a2c71bd0c3569967d7c258d2deba4
parentf52aea8bc25acfdd406f741d2711ebbf54606c81
PR12696: Attribute bits above 1<<30 are not encoded in bitcode

Attribute bits above 1<<30 are now encoded correctly.  Additionally,
the encoding/decoding functionality has been hoisted to helper functions
in Attributes.h in an effort to help the encoding/decoding to stay in
sync with the Attribute bitcode definitions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157581 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Attributes.h
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Writer/BitcodeWriter.cpp
test/Bitcode/attributes.ll [new file with mode: 0644]