projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd4d58c
)
remove dead fn
author
Chris Lattner
<sabre@nondot.org>
Fri, 3 Feb 2006 06:51:34 +0000
(06:51 +0000)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 35000c7d36dbf0da4a80c42831adc77462e6c96a..a8cd865c61ecf08aa9dcedf07141c6dfa162c084 100644
(file)
--- 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) {