diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-15 03:53:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-15 03:53:53 +0000 |
commit | 045e04dbfe17746b9ad5fcd41184e70e75991b93 (patch) | |
tree | b8aa7358bcad99d83dc4c6c744145dce87e2caab /llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp | |
parent | fd56ee2c40966117c96321f374a7861906b7f04a (diff) | |
download | bcm5719-llvm-045e04dbfe17746b9ad5fcd41184e70e75991b93.tar.gz bcm5719-llvm-045e04dbfe17746b9ad5fcd41184e70e75991b93.zip |
dissolve some more hacks.
llvm-svn: 119115
Diffstat (limited to 'llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp b/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp index 941adfbf0d9..c8037b3b6ad 100644 --- a/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp +++ b/llvm/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(); |