[llvm-branch-commits] [llvm] [AArch64][llvm] Fix incorrect diagnostic (index/immediate in simm9) (PR #229563)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Oct 9 04:59:26 PDT 2026


================
@@ -5997,55 +5997,62 @@ bool AArch64AsmParser::showMatchError(SMLoc Loc, unsigned ErrCode,
     return Error(Loc,
                  "expected compatible register or floating-point constant");
   case Match_InvalidMemoryIndexedSImm6:
----------------
Lukacma wrote:

I think that if we want to fix the naming, we should fix it in tablegen as well and not use MemoryIndex names anymore. I guess these operands were originally used for memory indexes, but since then we started using them for other operands as well and naming should reflect that.

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


More information about the llvm-branch-commits mailing list