SubtargetFeature: Increase MAX_SUBTARGET_FEATURES
authorMatthias Braun <matze@braunis.de>
Fri, 10 Feb 2017 03:48:50 +0000 (03:48 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 10 Feb 2017 03:48:50 +0000 (03:48 +0000)
The ARM target is getting really close to the current limit of 128
subtarget features already breaking out of tree enhancements. Increase
the size once more to 196.

I filed http://llvm.org/PR31926 to request a proper solution.

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

include/llvm/MC/SubtargetFeature.h

index c3167617b3fa489341abd5b4bf72fbe60ca92615..b5d68984629591fd8f7947edfec4092b8f9ebc65 100644 (file)
@@ -33,7 +33,7 @@ class Triple;
 // 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 = 128;
+const unsigned MAX_SUBTARGET_FEATURES = 192;
 class FeatureBitset : public std::bitset<MAX_SUBTARGET_FEATURES> {
 public:
   // Cannot inherit constructors because it's not supported by VC++..