remove the getBR2Way_CC method
authorChris Lattner <sabre@nondot.org>
Sun, 29 Jan 2006 06:01:13 +0000 (06:01 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 29 Jan 2006 06:01:13 +0000 (06:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25768 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAG.h

index fcc4c40eef968ce2940897f0c2a9562b889b576b..929fe1ff7e55e9ecf3ee15798fe9e8033e78084c 100644 (file)
@@ -229,21 +229,6 @@ public:
     return getNode(ISD::SELECT_CC, VT, LHS, RHS, True, False,getCondCode(Cond));
   }
   
-  /// getBR2Way_CC - Helper function to make it easier to build BRTWOWAY_CC
-  /// nodes.
-  ///
-  SDOperand getBR2Way_CC(SDOperand Chain, SDOperand CCNode, SDOperand LHS, 
-                         SDOperand RHS, SDOperand True, SDOperand False) {
-    std::vector<SDOperand> Ops;
-    Ops.push_back(Chain);
-    Ops.push_back(CCNode);
-    Ops.push_back(LHS);
-    Ops.push_back(RHS);
-    Ops.push_back(True);
-    Ops.push_back(False);
-    return getNode(ISD::BRTWOWAY_CC, MVT::Other, Ops);
-  }
-  
   /// getVAArg - VAArg produces a result and token chain, and takes a pointer
   /// and a source value as input.
   SDOperand getVAArg(MVT::ValueType VT, SDOperand Chain, SDOperand Ptr,