diff options
author | Chris Lattner <sabre@nondot.org> | 2006-02-03 06:51:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-02-03 06:51:34 +0000 |
commit | eefae25034a116d8cd1639f61e2920e913f2259f (patch) | |
tree | fa74427ed2f9757f799fdc357b761e90d066129f /lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | cd4d58cef1b932fe6ae66fdccdb2f69e80bbb734 (diff) |
remove dead fn
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25935 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 35000c7d36..a8cd865c61 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/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) { |