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.

llvm-svn: 294704
This commit is contained in:
Matthias Braun 2017-02-10 03:48:50 +00:00
parent 4855ba8f24
commit ef21cb2d95
1 changed files with 1 additions and 1 deletions

View 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++..