Move the code that creates instances of MipsInstrInfo and MipsFrameLowering out

of MipsTargetMachine.cpp.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161191 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Akira Hatanaka
2012-08-02 18:21:47 +00:00
parent bddf83614a
commit af26626067
9 changed files with 51 additions and 29 deletions
+5
View File
@@ -203,3 +203,8 @@ processFunctionBeforeCalleeSavedScan(MachineFunction &MF,
if (hasFP(MF))
MRI.setPhysRegUsed(FP);
}
const MipsFrameLowering *
llvm::createMipsSEFrameLowering(const MipsSubtarget &ST) {
return new MipsSEFrameLowering(ST);
}