summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-02-03 06:51:34 +0000
committerChris Lattner <sabre@nondot.org>2006-02-03 06:51:34 +0000
commit609140778305b893fab5a68da14e7a8e319de9bd (patch)
treed650cf8a046ed34befe0c3ff04a159ac6468dd0b /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parent22e251abf111168f0876768723c95d483624023f (diff)
downloadbcm5719-llvm-609140778305b893fab5a68da14e7a8e319de9bd.tar.gz
bcm5719-llvm-609140778305b893fab5a68da14e7a8e319de9bd.zip
remove dead fn
llvm-svn: 25935
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp11
1 files changed, 0 insertions, 11 deletions
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) {
OpenPOWER on IntegriCloud