mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Use the cached subtargets and remove calls to getSubtarget/getSubtargetImpl
without a Function argument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227622 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -51,7 +51,7 @@ PPCSubtarget::PPCSubtarget(const std::string &TT, const std::string &CPU,
|
||||
TargetTriple.getArch() == Triple::ppc64le),
|
||||
TargetABI(PPC_ABI_UNKNOWN),
|
||||
FrameLowering(initializeSubtargetDependencies(CPU, FS)), InstrInfo(*this),
|
||||
TLInfo(TM), TSInfo(TM.getDataLayout()) {}
|
||||
TLInfo(TM, *this), TSInfo(TM.getDataLayout()) {}
|
||||
|
||||
void PPCSubtarget::initializeEnvironment() {
|
||||
StackAlignment = 16;
|
||||
|
Reference in New Issue
Block a user