summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SparcV8/SparcV8InstrInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/SparcV8/SparcV8InstrInfo.cpp')
-rw-r--r--llvm/lib/Target/SparcV8/SparcV8InstrInfo.cpp21
1 files changed, 1 insertions, 20 deletions
diff --git a/llvm/lib/Target/SparcV8/SparcV8InstrInfo.cpp b/llvm/lib/Target/SparcV8/SparcV8InstrInfo.cpp
index a64dfbf88d4..71fc2d6d710 100644
--- a/llvm/lib/Target/SparcV8/SparcV8InstrInfo.cpp
+++ b/llvm/lib/Target/SparcV8/SparcV8InstrInfo.cpp
@@ -14,29 +14,10 @@
#include "SparcV8InstrInfo.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "SparcV8GenInstrInfo.inc"
-
-namespace llvm {
+using namespace llvm;
SparcV8InstrInfo::SparcV8InstrInfo()
: TargetInstrInfo(SparcV8Insts,
sizeof(SparcV8Insts)/sizeof(SparcV8Insts[0]), 0) {
}
-// createNOPinstr - returns the target's implementation of NOP, which is
-// usually a pseudo-instruction, implemented by a degenerate version of
-// another instruction.
-//
-MachineInstr* SparcV8InstrInfo::createNOPinstr() const {
- return 0;
-}
-
-/// isNOPinstr - not having a special NOP opcode, we need to know if a given
-/// instruction is interpreted as an `official' NOP instr, i.e., there may be
-/// more than one way to `do nothing' but only one canonical way to slack off.
-//
-bool SparcV8InstrInfo::isNOPinstr(const MachineInstr &MI) const {
- return false;
-}
-
-} // end namespace llvm
-
OpenPOWER on IntegriCloud