diff options
| author | Christopher Lamb <christopher.lamb@gmail.com> | 2008-03-13 05:47:01 +0000 |
|---|---|---|
| committer | Christopher Lamb <christopher.lamb@gmail.com> | 2008-03-13 05:47:01 +0000 |
| commit | dd55d3f1b2b4adf27e2284696dc08613cbad3405 (patch) | |
| tree | a1be383dd54d3c9c688b3b73ca17e555a0dc07df /llvm/lib/Target/X86/X86IntelAsmPrinter.cpp | |
| parent | 02e727ff8897cab697d02e2620c66ecc86f6c2a0 (diff) | |
| download | bcm5719-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/X86IntelAsmPrinter.cpp')
| -rw-r--r-- | llvm/lib/Target/X86/X86IntelAsmPrinter.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/Target/X86/X86IntelAsmPrinter.cpp b/llvm/lib/Target/X86/X86IntelAsmPrinter.cpp index 6c46b454562..16d819a3d7c 100644 --- a/llvm/lib/Target/X86/X86IntelAsmPrinter.cpp +++ b/llvm/lib/Target/X86/X86IntelAsmPrinter.cpp @@ -314,14 +314,6 @@ bool X86IntelAsmPrinter::PrintAsmMemoryOperand(const MachineInstr *MI, void X86IntelAsmPrinter::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); } |

