forked from OSchip/llvm-project
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
This commit is contained in:
parent
ea7403549d
commit
20447ce00e
|
@ -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++..
|
||||
|
|
Loading…
Reference in New Issue