[llvm] [Mips] Fix clang crashes when compiling a variadic function while targeting mips3 (PR #130558)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 14 00:48:28 PDT 2025
================
@@ -37,9 +37,13 @@ ArrayRef<MCPhysReg> MipsABIInfo::GetByValArgRegs() const {
llvm_unreachable("Unhandled ABI");
}
-ArrayRef<MCPhysReg> MipsABIInfo::GetVarArgRegs() const {
- if (IsO32())
- return ArrayRef(O32IntRegs);
+ArrayRef<MCPhysReg> MipsABIInfo::GetVarArgRegs(bool isGP64bit) const {
----------------
yingopq wrote:
OK, applied.
https://github.com/llvm/llvm-project/pull/130558
More information about the llvm-commits
mailing list