remove dead fn
authorChris Lattner <sabre@nondot.org>
Fri, 3 Feb 2006 06:51:34 +0000 (06:51 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 3 Feb 2006 06:51:34 +0000 (06:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25935 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAG.cpp

index 35000c7d36dbf0da4a80c42831adc77462e6c96a..a8cd865c61ecf08aa9dcedf07141c6dfa162c084 100644 (file)
@@ -43,17 +43,6 @@ static bool isCommutativeBinOp(unsigned Opcode) {
   }
 }
 
-static bool isAssociativeBinOp(unsigned Opcode) {
-  switch (Opcode) {
-  case ISD::ADD:
-  case ISD::MUL:
-  case ISD::AND:
-  case ISD::OR:
-  case ISD::XOR: return true;
-  default: return false; // FIXME: Need associative info for user ops!
-  }
-}
-
 // isInvertibleForFree - Return true if there is no cost to emitting the logical
 // inverse of this node.
 static bool isInvertibleForFree(SDOperand N) {