mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-17 19:51:13 +00:00
createMipsDelaySlotFillerPass added to mips codegen runtime
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41154 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
35d2a47994
commit
aff42dcf5d
@ -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…
x
Reference in New Issue
Block a user