https://github.com/MaskRay requested changes to this pull request. I don't have more time spent on investigating the issue, but adding a lot of mips-specific code to the generic AsmParser.cpp is not acceptable. https://github.com/llvm/llvm-project/pull/83115