From 16cb7fc21c4883c02f239fc41a544e6171d3e036 Mon Sep 17 00:00:00 2001 From: Akira Hatanaka Date: Tue, 21 Jul 2015 01:39:22 +0000 Subject: [PATCH] Bump the size of FeatureBitset up to 96-bits. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/MC/SubtargetFeature.h b/include/llvm/MC/SubtargetFeature.h index 2fb9b4ae250..8edd798f153 100644 --- a/include/llvm/MC/SubtargetFeature.h +++ b/include/llvm/MC/SubtargetFeature.h @@ -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 { public: // Cannot inherit constructors because it's not supported by VC++.. -- 2.34.1