Move PPCInstrInfo off of the target machine and onto the subtarget.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210839 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher
2014-06-12 22:05:46 +00:00
parent 647ab7f728
commit e3466d3777
4 changed files with 11 additions and 7 deletions

View File

@@ -80,7 +80,7 @@ PPCSubtarget::PPCSubtarget(const std::string &TT, const std::string &CPU,
: PPCGenSubtargetInfo(TT, CPU, FS), IsPPC64(is64Bit), TargetTriple(TT),
OptLevel(OptLevel),
FrameLowering(initializeSubtargetDependencies(CPU, FS)),
DL(getDataLayoutString(*this)) {}
DL(getDataLayoutString(*this)), InstrInfo(*this) {}
/// SetJITMode - This is called to inform the subtarget info that we are
/// producing code for the JIT.