Skip to content

Commit fbe21cd

Browse files
wangpc-ppfschlimb
authored andcommitted
[TargetParser] Increase MAX_SUBTARGET_FEATURES to 384 (llvm#144326)
There are 314 features in RISC-V backend, which is about to exceed the maxinum 320 as there are some ongoing new extensions. We increase the `MAX_SUBTARGET_FEATURES` to 384 so that we won't surprise anyone.
1 parent 1ca5d43 commit fbe21cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/TargetParser/SubtargetFeature.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace llvm {
3232
class raw_ostream;
3333
class Triple;
3434

35-
const unsigned MAX_SUBTARGET_WORDS = 5;
35+
const unsigned MAX_SUBTARGET_WORDS = 6;
3636
const unsigned MAX_SUBTARGET_FEATURES = MAX_SUBTARGET_WORDS * 64;
3737

3838
/// Container class for subtarget features.

0 commit comments

Comments
 (0)