diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-14 22:48:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-14 22:48:15 +0000 |
commit | 7077efe894cd456e57763f05ffb51e544a2a147e (patch) | |
tree | c2b9cbf4ea27d7578fc91f2df5bebbb6fb90cceb /llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp | |
parent | 239f9a35edfeca699e35112938b23c555065dbfd (diff) | |
download | llvm-7077efe894cd456e57763f05ffb51e544a2a147e.zip llvm-7077efe894cd456e57763f05ffb51e544a2a147e.tar.gz llvm-7077efe894cd456e57763f05ffb51e544a2a147e.tar.bz2 |
move the pic base symbol stuff up to MachineFunction
since it is trivial and will be shared between ppc and x86.
This substantially simplifies the X86 backend also.
llvm-svn: 119089
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp b/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp index d694b43..1d1ed67 100644 --- a/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp +++ b/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp @@ -548,7 +548,6 @@ void PPCAsmPrinter::printPredicateOperand(const MachineInstr *MI, unsigned OpNo, } } - /// EmitInstruction -- Print out a single PowerPC MI in Darwin syntax to /// the current output stream. /// @@ -559,7 +558,6 @@ void PPCAsmPrinter::EmitInstruction(const MachineInstr *MI) { // Lower multi-instruction pseudo operations. switch (MI->getOpcode()) { default: break; - case PPC::LDtoc: { // Transform %X3 = LDtoc <ga:@min1>, %X2 LowerPPCMachineInstrToMCInst(MI, TmpInst, *this); |