[llvm-commits] [llvm] r94646 - /llvm/trunk/include/llvm/Target/TargetLowering.h

Evan Cheng evan.cheng at apple.com
Tue Jan 26 17:44:40 PST 2010


Author: evancheng
Date: Tue Jan 26 19:44:40 2010
New Revision: 94646

URL: http://llvm.org/viewvc/llvm-project?rev=94646&view=rev
Log:
Remove a dead target hook.

Modified:
    llvm/trunk/include/llvm/Target/TargetLowering.h

Modified: llvm/trunk/include/llvm/Target/TargetLowering.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetLowering.h?rev=94646&r1=94645&r2=94646&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Target/TargetLowering.h (original)
+++ llvm/trunk/include/llvm/Target/TargetLowering.h Tue Jan 26 19:44:40 2010
@@ -1295,19 +1295,6 @@
     assert(0 && "ReplaceNodeResults not implemented for this target!");
   }
 
-  /// IsEligibleForTailCallOptimization - Check whether the call is eligible for
-  /// tail call optimization. Targets which want to do tail call optimization
-  /// should override this function.
-  virtual bool
-  IsEligibleForTailCallOptimization(SDValue Callee,
-                                    CallingConv::ID CalleeCC,
-                                    bool isVarArg,
-                                    const SmallVectorImpl<ISD::InputArg> &Ins,
-                                    SelectionDAG& DAG) const {
-    // Conservative default: no calls are eligible.
-    return false;
-  }
-
   /// getTargetNodeName() - This method returns the name of a target specific
   /// DAG node.
   virtual const char *getTargetNodeName(unsigned Opcode) const;





More information about the llvm-commits mailing list