diff options
| author | Weiming Zhao <weimingz@codeaurora.org> | 2015-12-15 04:42:49 +0000 |
|---|---|---|
| committer | Weiming Zhao <weimingz@codeaurora.org> | 2015-12-15 04:42:49 +0000 |
| commit | 20447ce00e772b572a23df435feed1ce24c3ecef (patch) | |
| tree | 0851599340621ec83c96fb1a79bfb85715246558 | |
| parent | ea7403549de73ba684bf887a208a0d79d180f748 (diff) | |
| download | bcm5719-llvm-20447ce00e772b572a23df435feed1ce24c3ecef.tar.gz bcm5719-llvm-20447ce00e772b572a23df435feed1ce24c3ecef.zip | |
Bump up MAX_SUBTARGET_FEATURES
Summary:
Currently, ARMGenSubtargetInfo (from ARM.td) is reaching the limit of 96:
enum : uint64_t {
...
XScale = 95
};
We need to bump the maximum value up to accommodate future changes and/or customized subtarget definitions.
Reviewers: apazos, t.p.northover
Subscribers: llvm-commits, aemerson
Differential Revision: http://reviews.llvm.org/D15514
llvm-svn: 255616
| -rw-r--r-- | llvm/include/llvm/MC/SubtargetFeature.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/MC/SubtargetFeature.h b/llvm/include/llvm/MC/SubtargetFeature.h index 8edd798f153..0d97b226d72 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 = 96; +const unsigned MAX_SUBTARGET_FEATURES = 128; class FeatureBitset : public std::bitset<MAX_SUBTARGET_FEATURES> { public: // Cannot inherit constructors because it's not supported by VC++.. |

