[llvm] r242754 - Bump the size of FeatureBitset up to 96-bits.
Akira Hatanaka
ahatanaka at apple.com
Mon Jul 20 18:39:22 PDT 2015
Author: ahatanak
Date: Mon Jul 20 20:39:22 2015
New Revision: 242754
URL: http://llvm.org/viewvc/llvm-project?rev=242754&view=rev
Log:
Bump the size of FeatureBitset up to 96-bits.
This should avoid exceeding the maximum size when I add another subtarget
feature to ARM's subtarget.
Modified:
llvm/trunk/include/llvm/MC/SubtargetFeature.h
Modified: llvm/trunk/include/llvm/MC/SubtargetFeature.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/SubtargetFeature.h?rev=242754&r1=242753&r2=242754&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/SubtargetFeature.h (original)
+++ llvm/trunk/include/llvm/MC/SubtargetFeature.h Mon Jul 20 20:39:22 2015
@@ -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 = 64;
+const unsigned MAX_SUBTARGET_FEATURES = 96;
class FeatureBitset : public std::bitset<MAX_SUBTARGET_FEATURES> {
public:
// Cannot inherit constructors because it's not supported by VC++..
More information about the llvm-commits
mailing list