Remove getSubtargetImpl from AArch64ISelLowering and cache the
[oota-llvm.git] / lib / Target / AArch64 / AArch64ISelLowering.h
index f4e86883902303142d466f4d1ca6af0883b1bb49..6cbc425e71ff43a7e52b6fa5d371330091dc0784 100644 (file)
@@ -207,7 +207,8 @@ class AArch64TargetLowering : public TargetLowering {
   bool RequireStrictAlign;
 
 public:
-  explicit AArch64TargetLowering(const TargetMachine &TM);
+  explicit AArch64TargetLowering(const TargetMachine &TM,
+                                 const AArch64Subtarget &STI);
 
   /// Selects the correct CCAssignFn for a given CallingConvention value.
   CCAssignFn *CCAssignFnForCall(CallingConv::ID CC, bool IsVarArg) const;