Split JMPL into JMPLCALL and JMPLRET.
authorVikram S. Adve <vadve@cs.uiuc.edu>
Mon, 22 Oct 2001 13:44:53 +0000 (13:44 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Mon, 22 Oct 2001 13:44:53 +0000 (13:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@943 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SparcV9/SparcV9AsmPrinter.cpp

index 1280d5ac6de46ad00c9a10ae3ab0aad1f2399916..aadc790210c690c315076b47ce20ce33c869b7a1 100644 (file)
@@ -164,7 +164,8 @@ void SparcAsmPrinter::emitMachineInst(const MachineInstr *MI) {
   Out << "\t" << TargetInstrDescriptors[Opcode].opCodeString << "\t";
 
   switch (Opcode) {   // Some opcodes have special syntax...
-  case JMPL:
+  case JMPLCALL:
+  case JMPLRET:
     assert(MI->getNumOperands() == 3 && "Unexpected JMPL instr!");
     printOperand(MI->getOperand(0));
     Out << "+";