summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/InstPrinter
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-11-15 03:53:53 +0000
committerChris Lattner <sabre@nondot.org>2010-11-15 03:53:53 +0000
commit84a04adf3a766c1d40ba100b9b7235531122e468 (patch)
tree7c76f10ba9821a916766b98c58d32296047918c4 /lib/Target/PowerPC/InstPrinter
parent0fe7184ba156c87deee090001ba1d7af05e84fc1 (diff)
downloadllvm-84a04adf3a766c1d40ba100b9b7235531122e468.tar.gz
llvm-84a04adf3a766c1d40ba100b9b7235531122e468.tar.bz2
llvm-84a04adf3a766c1d40ba100b9b7235531122e468.tar.xz
dissolve some more hacks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119115 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/InstPrinter')
-rw-r--r--lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp b/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
index 941adfbf0d..c8037b3b6a 100644
--- a/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
+++ b/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
@@ -16,14 +16,10 @@
#include "PPCPredicates.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.h"
-//#include "llvm/MC/MCAsmInfo.h"
-//#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/raw_ostream.h"
using namespace llvm;
#define GET_INSTRUCTION_NAME
-#define PPCAsmPrinter PPCInstPrinter
-#define MachineInstr MCInst
#include "PPCGenAsmWriter.inc"
StringRef PPCInstPrinter::getOpcodeName(unsigned Opcode) const {
@@ -32,8 +28,6 @@ StringRef PPCInstPrinter::getOpcodeName(unsigned Opcode) const {
void PPCInstPrinter::printInst(const MCInst *MI, raw_ostream &O) {
- // TODO: pseudo ops.
-
// Check for slwi/srwi mnemonics.
if (MI->getOpcode() == PPC::RLWINM) {
unsigned char SH = MI->getOperand(2).getImm();