From 609140778305b893fab5a68da14e7a8e319de9bd Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 3 Feb 2006 06:51:34 +0000 Subject: remove dead fn llvm-svn: 25935 --- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp') diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 35000c7d36d..a8cd865c61e 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -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) { -- cgit v1.2.3