ARM: Implement CanLowerReturn so large vectors get expanded into sret.
[oota-llvm.git] / lib / Target / ARM / ARMISelLowering.h
index 8bf803edee38311755a0dc07e2dd80b517862ec3..9cbf866f9b5170aa6e8abf050056ee835733c63f 100644 (file)
@@ -495,6 +495,12 @@ namespace llvm {
                                     const SmallVectorImpl<SDValue> &OutVals,
                                     const SmallVectorImpl<ISD::InputArg> &Ins,
                                            SelectionDAG& DAG) const;
+
+    virtual bool CanLowerReturn(CallingConv::ID CallConv,
+                                MachineFunction &MF, bool isVarArg,
+                                const SmallVectorImpl<ISD::OutputArg> &Outs,
+                                LLVMContext &Context) const;
+
     virtual SDValue
       LowerReturn(SDValue Chain,
                   CallingConv::ID CallConv, bool isVarArg,