[llvm] [Mips] Fix compiler crash when returning fp128 after calling a functi… (PR #117525)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 26 04:42:01 PST 2024


================
@@ -191,6 +192,16 @@ class MipsCCState : public CCState {
     return Return;
   }
 
+  bool CheckCallReturn(const SmallVectorImpl<ISD::OutputArg> &ArgsFlags,
+                   CCAssignFn Fn, const Type *RetTy) {
+    PreAnalyzeCallReturnForF128(ArgsFlags, RetTy);
+    PreAnalyzeReturnForVectorFloat(ArgsFlags);
----------------
arsenm wrote:

I don't understand how this fixes it, but this looks like hacking around something that shouldn't require special casing 

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


More information about the llvm-commits mailing list