mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-17 19:51:13 +00:00
Stop printing old asm printing code inline with -experimental-asm-printer (this allows diffing and assembling the .s)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80604 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
64926be847
commit
d2a0b272fe
@ -880,15 +880,10 @@ void X86ATTAsmPrinter::printMachineInstruction(const MachineInstr *MI) {
|
||||
TmpInst.setOpcode(X86::POP32r);
|
||||
TmpInst.getOperand(0) = MCOperand::CreateReg(MI->getOperand(0).getReg());
|
||||
printInstruction(&TmpInst);
|
||||
O << "OLD: ";
|
||||
// Call the autogenerated instruction printer routines.
|
||||
printInstruction(MI);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
O << "NEW: ";
|
||||
|
||||
TmpInst.setOpcode(MI->getOpcode());
|
||||
|
||||
for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i) {
|
||||
@ -930,10 +925,6 @@ void X86ATTAsmPrinter::printMachineInstruction(const MachineInstr *MI) {
|
||||
|
||||
// FIXME: Convert TmpInst.
|
||||
printInstruction(&TmpInst);
|
||||
O << "OLD: ";
|
||||
|
||||
// Call the autogenerated instruction printer routines.
|
||||
printInstruction(MI);
|
||||
}
|
||||
|
||||
void X86ATTAsmPrinter::PrintGlobalVariable(const GlobalVariable* GVar) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user