Compiler crash on variadic functions on mips3


When trying to run the below test, the compiler crashes with the error:
LLVM ERROR: Not supported instr: <MCInst 0 <MCOperand Reg:30> <MCOperand Reg:25>>

It works when using -mcpu=mips32, but it crashes when using -mcpu=mips3.
I’m using LLVM commit 8842d59c9f87830d0fa1583455b1249d6b4cf682 (2023-11-11)

Any idea how to proceed?

; RUN: llc -mtriple=mips-linux-elf -mcpu=mips32 %s -o - --filetype=obj | FileCheck %s
; RUN: llc -mtriple=mips-linux-elf -mcpu=mips3 %s -o - --filetype=obj | FileCheck %s
; CHECK: .text

define void @func(...) {
  ret void