diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2007-08-18 01:58:15 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2007-08-18 01:58:15 +0000 |
commit | a746512fc5be11ec3ac58117e84607e16646002b (patch) | |
tree | dd8b782653a5c874aede236e99291cecd67c7273 /llvm/lib/Target/Mips/MipsTargetMachine.cpp | |
parent | 7b616f574269d987a0380c33aee237d9a772594a (diff) | |
download | bcm5719-llvm-a746512fc5be11ec3ac58117e84607e16646002b.tar.gz bcm5719-llvm-a746512fc5be11ec3ac58117e84607e16646002b.zip |
createMipsDelaySlotFillerPass added to mips codegen runtime
llvm-svn: 41154
Diffstat (limited to 'llvm/lib/Target/Mips/MipsTargetMachine.cpp')
-rw-r--r-- | llvm/lib/Target/Mips/MipsTargetMachine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Mips/MipsTargetMachine.cpp b/llvm/lib/Target/Mips/MipsTargetMachine.cpp index 7fdba30bd21..95db8242c76 100644 --- a/llvm/lib/Target/Mips/MipsTargetMachine.cpp +++ b/llvm/lib/Target/Mips/MipsTargetMachine.cpp @@ -64,11 +64,11 @@ addInstSelector(FunctionPassManager &PM, bool Fast) // Implemented by targets that want to run passes immediately before // machine code is emitted. return true if -print-machineinstrs should // print out the code after the passes. -// TODO: Delay slot must be implemented here. bool MipsTargetMachine:: addPreEmitPass(FunctionPassManager &PM, bool Fast) { - return false; + PM.add(createMipsDelaySlotFillerPass(*this)); + return true; } // Implements the AssemblyEmitter for the target. Must return |