mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
createMipsDelaySlotFillerPass added to mips codegen runtime
llvm-svn: 41154
This commit is contained in:
parent
7bca87bebd
commit
ae01dc5e74
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user