From: Chris Lattner Date: Fri, 3 Nov 2006 01:18:29 +0000 (+0000) Subject: silence warnings. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1331dec131e942102a04d71c622ed88bf6a7c46e;p=oota-llvm.git silence warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31394 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Alpha/AlphaISelLowering.cpp b/lib/Target/Alpha/AlphaISelLowering.cpp index 9728d88a387..6d53a9e59c4 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 807dd250310..c2919b07725 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 012d835528b..cc6c108420d 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) {