[llvm-commits] [llvm] r112060 - /llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp
Benjamin Kramer
benny.kra at googlemail.com
Wed Aug 25 10:27:59 PDT 2010
Author: d0k
Date: Wed Aug 25 12:27:58 2010
New Revision: 112060
URL: http://llvm.org/viewvc/llvm-project?rev=112060&view=rev
Log:
Remove dead recursive function. Yay for clang -Wunused-function.
Modified:
llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp?rev=112060&r1=112059&r2=112060&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp Wed Aug 25 12:27:58 2010
@@ -1312,13 +1312,6 @@
return CurDAG->getRegister(GlobalBaseReg, TLI.getPointerTy()).getNode();
}
-static SDNode *FindCallStartFromCall(SDNode *Node) {
- if (Node->getOpcode() == ISD::CALLSEQ_START) return Node;
- assert(Node->getOperand(0).getValueType() == MVT::Other &&
- "Node doesn't have a token chain argument!");
- return FindCallStartFromCall(Node->getOperand(0).getNode());
-}
-
SDNode *X86DAGToDAGISel::SelectAtomic64(SDNode *Node, unsigned Opc) {
SDValue Chain = Node->getOperand(0);
SDValue In1 = Node->getOperand(1);
More information about the llvm-commits
mailing list