mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
remove dead fn
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25935 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cd4d58cef1
commit
eefae25034
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user