[llvm] [ARM][TableGen][MC] Change the ARM mnemonic operands to be optional for ASM parsing (PR #83436)

Alfie Richards via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 14 02:57:17 PDT 2024


================
@@ -3253,7 +3276,7 @@ void AsmMatcherEmitter::run(raw_ostream &OS) {
         const MatchableInfo &A = **I;
         const MatchableInfo &B = **J;
 
-        if (A.couldMatchAmbiguouslyWith(B)) {
+        if (A.couldMatchAmbiguouslyWith(B, Target)) {
----------------
AlfieRichardsArm wrote:

Ah yes, I agree this is a good idea. I will address in https://github.com/llvm/llvm-project/pull/83587.

https://github.com/llvm/llvm-project/pull/83436


More information about the llvm-commits mailing list