Pass callsite return type to TargetLowering::LowerCall and use that to check sibcall...
[oota-llvm.git] / include / llvm / Target / TargetLowering.h
index e172edf4dd7b91b56bc9245860240a88865456d3..55619de0602ffcf9bdcfca4c58c9da4cb8c41b7a 100644 (file)
@@ -1168,7 +1168,7 @@ public:
   /// InVals array with legal-type return values from the call, and return
   /// the resulting token chain value.
   virtual SDValue
-    LowerCall(SDValue Chain, SDValue Callee,
+    LowerCall(SDValue Chain, SDValue Callee, const Type *RetTy,
               CallingConv::ID CallConv, bool isVarArg, bool &isTailCall,
               const SmallVectorImpl<ISD::OutputArg> &Outs,
               const SmallVectorImpl<ISD::InputArg> &Ins,