diff options
author | Chris Lattner <sabre@nondot.org> | 2006-11-03 01:18:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-11-03 01:18:29 +0000 |
commit | 1331dec131e942102a04d71c622ed88bf6a7c46e (patch) | |
tree | af08c6bbc3d21067a127072df93128e4f7fdea77 | |
parent | 15092547e495c6d01a9aeb6d16c527d92c859749 (diff) |
silence warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31394 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/Alpha/AlphaISelLowering.cpp | 6 | ||||
-rw-r--r-- | lib/Target/Alpha/AlphaInstrInfo.td | 1 | ||||
-rw-r--r-- | lib/Target/Alpha/AlphaRegisterInfo.cpp | 6 |
3 files changed, 1 insertions, 12 deletions
diff --git a/lib/Target/Alpha/AlphaISelLowering.cpp b/lib/Target/Alpha/AlphaISelLowering.cpp index 9728d88a38..6d53a9e59c 100644 --- a/lib/Target/Alpha/AlphaISelLowering.cpp +++ b/lib/Target/Alpha/AlphaISelLowering.cpp @@ -383,12 +383,6 @@ AlphaTargetLowering::LowerCallTo(SDOperand Chain, return std::make_pair(RetVal, Chain); } -static int getUID() -{ - static int id = 0; - return ++id; -} - /// LowerOperation - Provide custom lowering hooks for some operations. /// SDOperand AlphaTargetLowering::LowerOperation(SDOperand Op, SelectionDAG &DAG) { diff --git a/lib/Target/Alpha/AlphaInstrInfo.td b/lib/Target/Alpha/AlphaInstrInfo.td index 807dd25031..c2919b0772 100644 --- a/lib/Target/Alpha/AlphaInstrInfo.td +++ b/lib/Target/Alpha/AlphaInstrInfo.td @@ -96,6 +96,7 @@ def zappat : PatFrag<(ops node:$LHS), (and node:$LHS, imm:$L), [{ }]>; def immFPZ : PatLeaf<(fpimm), [{ //the only fpconstant nodes are +/- 0.0 + (void)N; // silence warning. return true; }]>; diff --git a/lib/Target/Alpha/AlphaRegisterInfo.cpp b/lib/Target/Alpha/AlphaRegisterInfo.cpp index 012d835528..cc6c108420 100644 --- a/lib/Target/Alpha/AlphaRegisterInfo.cpp +++ b/lib/Target/Alpha/AlphaRegisterInfo.cpp @@ -51,12 +51,6 @@ static long getLower16(long l) return l - h * IMM_MULT; } -static int getUID() -{ - static int id = 0; - return ++id; -} - AlphaRegisterInfo::AlphaRegisterInfo() : AlphaGenRegisterInfo(Alpha::ADJUSTSTACKDOWN, Alpha::ADJUSTSTACKUP) { |