Remove dead code.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 6 Jan 2014 18:14:34 +0000 (18:14 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 6 Jan 2014 18:14:34 +0000 (18:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198624 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/XCore/XCoreFrameToArgsOffsetElim.cpp

index 29e2dd0e0cd2447a15bedb6cdf7da410048b366f..c18eff941b4488641669c351a65c0932d96f18be 100644 (file)
@@ -41,14 +41,6 @@ FunctionPass *llvm::createXCoreFrameToArgsOffsetEliminationPass() {
   return new XCoreFTAOElim();
 }
 
   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<const XCoreInstrInfo*>(MF.getTarget().getInstrInfo());
 bool XCoreFTAOElim::runOnMachineFunction(MachineFunction &MF) {
   const XCoreInstrInfo &TII =
           *static_cast<const XCoreInstrInfo*>(MF.getTarget().getInstrInfo());