From: Bruno Cardoso Lopes Date: Sat, 18 Aug 2007 02:05:24 +0000 (+0000) Subject: Couple of small changes. Delay Slot handle header declared. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=250a1714be749ee14998986b5e0a57a3ec20a04d;p=oota-llvm.git Couple of small changes. Delay Slot handle header declared. Newline added after macros at function init on generated asm! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41157 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Mips/Mips.h b/lib/Target/Mips/Mips.h index 48b08eaf802..234f7387665 100644 --- a/lib/Target/Mips/Mips.h +++ b/lib/Target/Mips/Mips.h @@ -23,9 +23,10 @@ namespace llvm { class FunctionPass; class MachineCodeEmitter; + FunctionPass *createMipsISelDag(MipsTargetMachine &TM); + FunctionPass *createMipsDelaySlotFillerPass(MipsTargetMachine &TM); FunctionPass *createMipsCodePrinterPass(std::ostream &OS, MipsTargetMachine &TM); - FunctionPass *createMipsISelDag(MipsTargetMachine &TM); } // end namespace llvm; // Defines symbolic names for Mips registers. This defines a mapping from diff --git a/lib/Target/Mips/MipsAsmPrinter.cpp b/lib/Target/Mips/MipsAsmPrinter.cpp index 563386be131..48879ee3e38 100644 --- a/lib/Target/Mips/MipsAsmPrinter.cpp +++ b/lib/Target/Mips/MipsAsmPrinter.cpp @@ -209,9 +209,9 @@ emitFunctionStart(MachineFunction &MF) emitFrameDirective(MF); emitMaskDirective(MF); emitFMaskDirective(); - emitSetDirective(NOREORDER); emitSetDirective(NOMACRO); + O << "\n"; } /// Emit the directives used by GAS on the end of functions