[llvm] [ARM][TableGen][MC] Change the ARM mnemonic operands to be optional for ASM parsing (PR #83436)
Ivan Kosarev via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 1 04:51:20 PST 2024
================
@@ -608,12 +627,19 @@ struct MatchableInfo {
void buildInstructionResultOperands();
void buildAliasResultOperands(bool AliasConstraintsAreChecked);
- /// operator< - Compare two matchables.
- bool operator<(const MatchableInfo &RHS) const {
+ /// comp - Compare two matchables.
+ bool comp(const MatchableInfo &RHS, const CodeGenTarget &Target) const {
----------------
kosarev wrote:
We could probably use the chance and give it some meaningful name. Something like `shouldBeMatchedBefore()` maybe?
https://github.com/llvm/llvm-project/pull/83436
More information about the llvm-commits
mailing list