Commit 70f5b22
committed
[TableGen][AsmMatcher] Fix the range check on 'MatchClassKind'
- When selecting the minimal type for 'MatchClassKind' during the
emission of 'MatchEntry' and 'OperandMatchEntry', two pre-defined
kinds 'InvalidMatchClass' and 'OptionalMatchClass' are not taken into
account.1 parent ee08b99 commit 70f5b22
1 file changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2863 | 2863 | | |
2864 | 2864 | | |
2865 | 2865 | | |
2866 | | - | |
2867 | | - | |
| 2866 | + | |
| 2867 | + | |
| 2868 | + | |
| 2869 | + | |
| 2870 | + | |
2868 | 2871 | | |
2869 | 2872 | | |
2870 | 2873 | | |
| |||
3480 | 3483 | | |
3481 | 3484 | | |
3482 | 3485 | | |
3483 | | - | |
3484 | | - | |
| 3486 | + | |
| 3487 | + | |
| 3488 | + | |
| 3489 | + | |
3485 | 3490 | | |
3486 | 3491 | | |
3487 | 3492 | | |
| |||
0 commit comments