summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2017-02-10 03:48:50 +0000
committerMatthias Braun <matze@braunis.de>2017-02-10 03:48:50 +0000
commitef21cb2d95d282db77095b00d684af3d9d28d9e3 (patch)
tree99bc155fde545b8f799c84bfd511842216ba75b0 /llvm
parent4855ba8f24adf96a4abddbd25dc31d9c9c778314 (diff)
downloadbcm5719-llvm-ef21cb2d95d282db77095b00d684af3d9d28d9e3.tar.gz
bcm5719-llvm-ef21cb2d95d282db77095b00d684af3d9d28d9e3.zip
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
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/MC/SubtargetFeature.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/MC/SubtargetFeature.h b/llvm/include/llvm/MC/SubtargetFeature.h
index c3167617b3f..b5d68984629 100644
--- a/llvm/include/llvm/MC/SubtargetFeature.h
+++ b/llvm/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<MAX_SUBTARGET_FEATURES> {
public:
// Cannot inherit constructors because it's not supported by VC++..
OpenPOWER on IntegriCloud