diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-11-03 01:28:29 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-11-03 01:28:29 +0000 |
| commit | cd7b92251d54979b67c6dd09c039e307aee53aba (patch) | |
| tree | 799ad3ad2fcff547eef986d228fa56664745d3d6 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
| parent | 5314f04de5df9d6c5d4e95d3da0a21d70fc23c5d (diff) | |
| download | bcm5719-llvm-cd7b92251d54979b67c6dd09c039e307aee53aba.tar.gz bcm5719-llvm-cd7b92251d54979b67c6dd09c039e307aee53aba.zip | |
silence warning
llvm-svn: 31397
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index bfd9a806c3a..c2ee956fff2 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -39,15 +39,6 @@ static SDVTList makeVTList(const MVT::ValueType *VTs, unsigned NumVTs) { return Res; } -// isInvertibleForFree - Return true if there is no cost to emitting the logical -// inverse of this node. -static bool isInvertibleForFree(SDOperand N) { - if (isa<ConstantSDNode>(N.Val)) return true; - if (N.Val->getOpcode() == ISD::SETCC && N.Val->hasOneUse()) - return true; - return false; -} - //===----------------------------------------------------------------------===// // ConstantFPSDNode Class //===----------------------------------------------------------------------===// @@ -255,12 +246,6 @@ const TargetMachine &SelectionDAG::getTarget() const { // SDNode Profile Support //===----------------------------------------------------------------------===// -/// getNodeIDOpcode - Return the opcode that has been set for this NodeID. -/// -static unsigned getNodeIDOpcode(FoldingSetNodeID &ID) { - return ID.getRawData(0); -} - /// AddNodeIDOpcode - Add the node opcode to the NodeID data. /// static void AddNodeIDOpcode(FoldingSetNodeID &ID, unsigned OpC) { |

