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

Dan Gohman gohman at apple.com
Fri Dec 18 17:47:14 PST 2009


Author: djg
Date: Fri Dec 18 19:47:13 2009
New Revision: 91743

URL: http://llvm.org/viewvc/llvm-project?rev=91743&view=rev
Log:
Delete unused code.

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=91743&r1=91742&r2=91743&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Target/TargetLowering.h (original)
+++ llvm/trunk/include/llvm/Target/TargetLowering.h Fri Dec 18 19:47:13 2009
@@ -1291,20 +1291,6 @@
     return false;
   }
 
-  /// GetPossiblePreceedingTailCall - Get preceeding TailCallNodeOpCode node if
-  /// it exists. Skip a possible ISD::TokenFactor.
-  static SDValue GetPossiblePreceedingTailCall(SDValue Chain,
-                                                 unsigned TailCallNodeOpCode) {
-    if (Chain.getOpcode() == TailCallNodeOpCode) {
-      return Chain;
-    } else if (Chain.getOpcode() == ISD::TokenFactor) {
-      if (Chain.getNumOperands() &&
-          Chain.getOperand(0).getOpcode() == TailCallNodeOpCode)
-        return Chain.getOperand(0);
-    }
-    return Chain;
-  }
-
   /// 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