Move PPCTargetLowering off of the TargetMachine and onto the subtarget.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210852 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher
2014-06-12 22:50:10 +00:00
parent cb7dc25df1
commit a7159144c2
5 changed files with 11 additions and 8 deletions

View File

@ -42,7 +42,7 @@ PPCTargetMachine::PPCTargetMachine(const Target &T, StringRef TT, StringRef CPU,
Reloc::Model RM, CodeModel::Model CM,
CodeGenOpt::Level OL, bool is64Bit)
: LLVMTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL),
Subtarget(TT, CPU, FS, is64Bit, OL), TLInfo(*this), TSInfo(*this) {
Subtarget(TT, CPU, FS, *this, is64Bit, OL), TSInfo(*this) {
initAsmInfo();
}