Remove getSubtargetImpl from AArch64ISelLowering and cache the
[oota-llvm.git] / lib / Target / AArch64 / AArch64Subtarget.cpp
index d48a54decd80f8bae1ddc7da94bdbcaf87223bb5..c6130253dd89c9a5073a3d4de294b8e8b83bd793 100644 (file)
@@ -51,7 +51,7 @@ AArch64Subtarget::AArch64Subtarget(const std::string &TT,
       HasZeroCycleRegMove(false), HasZeroCycleZeroing(false),
       IsLittle(LittleEndian), CPUString(CPU), TargetTriple(TT), FrameLowering(),
       InstrInfo(initializeSubtargetDependencies(FS)),
-      TSInfo(TM.getDataLayout()), TLInfo(TM) {}
+      TSInfo(TM.getDataLayout()), TLInfo(TM, *this) {}
 
 /// ClassifyGlobalReference - Find the target operand flags that describe
 /// how a global value should be referenced for the current subtarget.