[llvm] [Mips] Fix $gp was restored when used as global register variable (PR #201778)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 10 02:29:41 PDT 2026


================
@@ -89,20 +97,23 @@ MipsRegisterInfo::getCalleeSavedRegs(const MachineFunction *MF) const {
                                      : CSR_Interrupt_32_SaveList;
   }
 
----------------
arsenm wrote:

Not all of these ABIs are tested 

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


More information about the llvm-commits mailing list