diff options
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/R600/SIInstrInfo.cpp | 7 | ||||
| -rw-r--r-- | llvm/lib/Target/R600/SIInstrInfo.h | 4 | 
2 files changed, 4 insertions, 7 deletions
diff --git a/llvm/lib/Target/R600/SIInstrInfo.cpp b/llvm/lib/Target/R600/SIInstrInfo.cpp index a239fb92f35..89054182d45 100644 --- a/llvm/lib/Target/R600/SIInstrInfo.cpp +++ b/llvm/lib/Target/R600/SIInstrInfo.cpp @@ -25,12 +25,7 @@ using namespace llvm;  SIInstrInfo::SIInstrInfo(AMDGPUTargetMachine &tm)    : AMDGPUInstrInfo(tm), -    RI(tm) -    { } - -const SIRegisterInfo &SIInstrInfo::getRegisterInfo() const { -  return RI; -} +    RI(tm) { }  //===----------------------------------------------------------------------===//  // TargetInstrInfo callbacks diff --git a/llvm/lib/Target/R600/SIInstrInfo.h b/llvm/lib/Target/R600/SIInstrInfo.h index de3ff073304..49f214c6723 100644 --- a/llvm/lib/Target/R600/SIInstrInfo.h +++ b/llvm/lib/Target/R600/SIInstrInfo.h @@ -36,7 +36,9 @@ private:  public:    explicit SIInstrInfo(AMDGPUTargetMachine &tm); -  const SIRegisterInfo &getRegisterInfo() const; +  const SIRegisterInfo &getRegisterInfo() const { +    return RI; +  }    virtual void copyPhysReg(MachineBasicBlock &MBB,                             MachineBasicBlock::iterator MI, DebugLoc DL,  | 

