From: Rafael Espindola Date: Mon, 6 Jan 2014 18:14:34 +0000 (+0000) Subject: Remove dead code. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=34fa3112675535b002bf48d0aaae9abe459ca3da;p=oota-llvm.git Remove dead code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198624 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/XCore/XCoreFrameToArgsOffsetElim.cpp b/lib/Target/XCore/XCoreFrameToArgsOffsetElim.cpp index 29e2dd0e0cd..c18eff941b4 100644 --- a/lib/Target/XCore/XCoreFrameToArgsOffsetElim.cpp +++ b/lib/Target/XCore/XCoreFrameToArgsOffsetElim.cpp @@ -41,14 +41,6 @@ FunctionPass *llvm::createXCoreFrameToArgsOffsetEliminationPass() { return new XCoreFTAOElim(); } -static inline bool isImmU6(unsigned val) { - return val < (1 << 6); -} - -static inline bool isImmU16(unsigned val) { - return val < (1 << 16); -} - bool XCoreFTAOElim::runOnMachineFunction(MachineFunction &MF) { const XCoreInstrInfo &TII = *static_cast(MF.getTarget().getInstrInfo());