Fix IntegerType::MAX_INT_BITS value
authorAndrey Bokhanko <andreybokhanko@gmail.com>
Tue, 4 Oct 2016 12:43:46 +0000 (12:43 +0000)
committerAndrey Bokhanko <andreybokhanko@gmail.com>
Tue, 4 Oct 2016 12:43:46 +0000 (12:43 +0000)
commit6903be56d58e7f39053b6db4be42c83d7906ccce
tree7de0240a0986f3418e6b5400bf3a8e47f8aff62b
parentb90f3cf15ba286156fc43ec7882c162c24d6446c
Fix IntegerType::MAX_INT_BITS value

IntegerType::MAX_INT_BITS is apparently not in sync with Type::SubclassData
size. This patch fixes this.

Differential Revision: https://reviews.llvm.org/D24814

llvm-svn: 283215
llvm/include/llvm/IR/DerivedTypes.h
llvm/include/llvm/IR/Type.h
llvm/test/Assembler/invalid-inttype.ll [new file with mode: 0644]
llvm/test/Assembler/max-inttype.ll [new file with mode: 0644]