forked from OSchip/llvm-project
parent
9504d2f269
commit
6dde30354a
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue