mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
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:
@ -75,12 +75,13 @@ PPCSubtarget &PPCSubtarget::initializeSubtargetDependencies(StringRef CPU,
|
||||
}
|
||||
|
||||
PPCSubtarget::PPCSubtarget(const std::string &TT, const std::string &CPU,
|
||||
const std::string &FS, bool is64Bit,
|
||||
CodeGenOpt::Level OptLevel)
|
||||
const std::string &FS, PPCTargetMachine &TM,
|
||||
bool is64Bit, CodeGenOpt::Level OptLevel)
|
||||
: PPCGenSubtargetInfo(TT, CPU, FS), IsPPC64(is64Bit), TargetTriple(TT),
|
||||
OptLevel(OptLevel),
|
||||
FrameLowering(initializeSubtargetDependencies(CPU, FS)),
|
||||
DL(getDataLayoutString(*this)), InstrInfo(*this), JITInfo(*this) {}
|
||||
DL(getDataLayoutString(*this)), InstrInfo(*this), JITInfo(*this),
|
||||
TLInfo(TM) {}
|
||||
|
||||
/// SetJITMode - This is called to inform the subtarget info that we are
|
||||
/// producing code for the JIT.
|
||||
|
Reference in New Issue
Block a user