[llvm-branch-commits] [llvm] [SPARC][IAS] Reject unknown/unavailable mnemonics early in ParseInstruction (PR #96021)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Jul 10 09:57:51 PDT 2024


koachan wrote:

Hmmm, so, change of approach - I decided to follow what the MIPS backend does and validate all mnemonics early in ParseInstruction, before any operand parsing is done.
This gets IAS to emit the correct error message for missing instructions.

The misuse of ParseStatus returns still needs to be addressed, but at least I think with this approach it should no longer be a blocker for this particular issue?

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


More information about the llvm-branch-commits mailing list