[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


================
@@ -4781,7 +4781,7 @@ class TargetLowering : public TargetLoweringBase {
   virtual bool CanLowerReturn(CallingConv::ID /*CallConv*/,
                               MachineFunction &/*MF*/, bool /*isVarArg*/,
                const SmallVectorImpl<ISD::OutputArg> &/*Outs*/,
-               LLVMContext &/*Context*/) const
+               LLVMContext &/*Context*/, const Type *RetTy) const
----------------
arsenm wrote:

A new parameter should not be necessary. Outs should already correspond to the decomposed aggregate type derived from the original IR type 

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


More information about the llvm-commits mailing list