From: Matthias Braun Date: Fri, 10 Feb 2017 03:48:50 +0000 (+0000) Subject: SubtargetFeature: Increase MAX_SUBTARGET_FEATURES X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=652f08ccd663630d9861df76107aae32d00f1956;p=llvm SubtargetFeature: Increase MAX_SUBTARGET_FEATURES 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 --- diff --git a/include/llvm/MC/SubtargetFeature.h b/include/llvm/MC/SubtargetFeature.h index c3167617b3f..b5d68984629 100644 --- a/include/llvm/MC/SubtargetFeature.h +++ b/include/llvm/MC/SubtargetFeature.h @@ -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 { public: // Cannot inherit constructors because it's not supported by VC++..