From 566ce1b0bbd205e7b31c1cab33b95a25dbe2dc0d 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. llvm-svn: 242754 --- llvm/include/llvm/MC/SubtargetFeature.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/MC/SubtargetFeature.h b/llvm/include/llvm/MC/SubtargetFeature.h index 2fb9b4ae2503..8edd798f1530 100644 --- a/llvm/include/llvm/MC/SubtargetFeature.h +++ b/llvm/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++..