summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86ATTAsmPrinter.cpp
diff options
context:
space:
mode:
authorChristopher Lamb <christopher.lamb@gmail.com>2008-03-13 05:47:01 +0000
committerChristopher Lamb <christopher.lamb@gmail.com>2008-03-13 05:47:01 +0000
commitdd55d3f1b2b4adf27e2284696dc08613cbad3405 (patch)
treea1be383dd54d3c9c688b3b73ca17e555a0dc07df /llvm/lib/Target/X86/X86ATTAsmPrinter.cpp
parent02e727ff8897cab697d02e2620c66ecc86f6c2a0 (diff)
downloadbcm5719-llvm-dd55d3f1b2b4adf27e2284696dc08613cbad3405.tar.gz
bcm5719-llvm-dd55d3f1b2b4adf27e2284696dc08613cbad3405.zip
Get rid of a pseudo instruction and replace it with subreg based operation on real instructions, ridding the asm printers of the hack used to do this previously. In the process, update LowerSubregs to be careful about eliminating copies that have side affects.
Note: the coalescer will have to be careful about this too, when it starts coalescing insert_subreg nodes. llvm-svn: 48329
Diffstat (limited to 'llvm/lib/Target/X86/X86ATTAsmPrinter.cpp')
-rw-r--r--llvm/lib/Target/X86/X86ATTAsmPrinter.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/Target/X86/X86ATTAsmPrinter.cpp b/llvm/lib/Target/X86/X86ATTAsmPrinter.cpp
index 4fef3827e3f..e51e065540e 100644
--- a/llvm/lib/Target/X86/X86ATTAsmPrinter.cpp
+++ b/llvm/lib/Target/X86/X86ATTAsmPrinter.cpp
@@ -637,14 +637,6 @@ bool X86ATTAsmPrinter::PrintAsmMemoryOperand(const MachineInstr *MI,
void X86ATTAsmPrinter::printMachineInstruction(const MachineInstr *MI) {
++EmittedInsts;
- // See if a truncate instruction can be turned into a nop.
- switch (MI->getOpcode()) {
- default: break;
- case X86::PsMOVZX64rr32:
- O << TAI->getCommentString() << " ZERO-EXTEND " << "\n\t";
- break;
- }
-
// Call the autogenerated instruction printer routines.
printInstruction(MI);
}
OpenPOWER on IntegriCloud