Bump the size of FeatureBitset up to 96-bits.
authorAkira Hatanaka <ahatanaka@apple.com>
Tue, 21 Jul 2015 01:39:22 +0000 (01:39 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Tue, 21 Jul 2015 01:39:22 +0000 (01:39 +0000)
This should avoid exceeding the maximum size when I add another subtarget
feature to ARM's subtarget.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242754 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/SubtargetFeature.h

index 2fb9b4ae2503f14ee7ace7c8b55db2e0c6c24a54..8edd798f1530002fb9435b564da897588e3ea4b3 100644 (file)
@@ -30,7 +30,7 @@ namespace llvm {
 // A container class for subtarget features.
 // This is convenient because std::bitset does not have a constructor
 // with an initializer list of set bits.
-const unsigned MAX_SUBTARGET_FEATURES = 64;
+const unsigned MAX_SUBTARGET_FEATURES = 96;
 class FeatureBitset : public std::bitset<MAX_SUBTARGET_FEATURES> {
 public:
   // Cannot inherit constructors because it's not supported by VC++..