summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2007-08-18 02:05:24 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2007-08-18 02:05:24 +0000
commit250a1714be749ee14998986b5e0a57a3ec20a04d (patch)
tree1d40d3c8f2b4030cb68ea4f1ab2e9c8dba35c90f /lib
parente88c36819e7bece82f38176eb464678ab6099794 (diff)
downloadllvm-250a1714be749ee14998986b5e0a57a3ec20a04d.tar.gz
llvm-250a1714be749ee14998986b5e0a57a3ec20a04d.tar.bz2
llvm-250a1714be749ee14998986b5e0a57a3ec20a04d.tar.xz
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
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/Mips/Mips.h3
-rw-r--r--lib/Target/Mips/MipsAsmPrinter.cpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/Target/Mips/Mips.h b/lib/Target/Mips/Mips.h
index 48b08eaf80..234f738766 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 563386be13..48879ee3e3 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