1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00

remove dead fn

llvm-svn: 25935
This commit is contained in:
Chris Lattner 2006-02-03 06:51:34 +00:00
parent 78c9e14249
commit 541258d077

View 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) {