[all-commits] [llvm/llvm-project] 70f5b2: [TableGen][AsmMatcher] Fix the range check on 'Mat...
darkbuck via All-commits
all-commits at lists.llvm.org
Mon Jan 29 08:26:12 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 70f5b220509cafb3dc4e876e4feecb3dcca78dec
https://github.com/llvm/llvm-project/commit/70f5b220509cafb3dc4e876e4feecb3dcca78dec
Author: Michael Liao <michael.hliao at gmail.com>
Date: 2024-01-29 (Mon, 29 Jan 2024)
Changed paths:
M llvm/utils/TableGen/AsmMatcherEmitter.cpp
Log Message:
-----------
[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.
More information about the All-commits
mailing list