diff options
Diffstat (limited to 'llvm/lib/Target/PIC16/PIC16InstrInfo.h')
| -rw-r--r-- | llvm/lib/Target/PIC16/PIC16InstrInfo.h | 20 | 
1 files changed, 1 insertions, 19 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16InstrInfo.h b/llvm/lib/Target/PIC16/PIC16InstrInfo.h index 60b02ab6b47..0b676796987 100644 --- a/llvm/lib/Target/PIC16/PIC16InstrInfo.h +++ b/llvm/lib/Target/PIC16/PIC16InstrInfo.h @@ -64,25 +64,7 @@ public:                             unsigned &SrcReg, unsigned &DstReg,                             unsigned &SrcSubIdx, unsigned &DstSubIdx) const; -  static inline bool hasNoMemOperand (const MachineInstr &MI) { - -    if (MI.getNumOperands() == 0) return true; - -    switch (MI.getOpcode()) { -    default: return false;  // Beware -    case PIC16::movlw_lo_1: -    case PIC16::movlw_hi_1: -    case PIC16::movlw_lo_2: -    case PIC16::movlw_hi_2: -      return true; -    } -  } -        -    -     - -}; - +  };  } // namespace llvm  #endif  | 

