Migrate the AArch64 TargetRegisterInfo to its TargetMachine
[oota-llvm.git] / lib / Target / AArch64 / AArch64InstrInfo.h
index fa4b8b7e617969688e90f5df12b25511f43d484d..0afc4f05c9a4ffe528eaddaa98b1acb582a4dda9 100644 (file)
@@ -34,17 +34,11 @@ class AArch64InstrInfo : public AArch64GenInstrInfo {
     MOSuppressPair = 1
   };
 
-  const AArch64RegisterInfo RI;
   const AArch64Subtarget &Subtarget;
 
 public:
   explicit AArch64InstrInfo(const AArch64Subtarget &STI);
 
-  /// getRegisterInfo - TargetInstrInfo is a superset of MRegister info.  As
-  /// such, whenever a client has an instance of instruction info, it should
-  /// always be able to get register info as well (through this method).
-  const AArch64RegisterInfo &getRegisterInfo() const { return RI; }
-
   unsigned GetInstSizeInBytes(const MachineInstr *MI) const;
 
   bool isAsCheapAsAMove(const MachineInstr *MI) const override;