mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-04 18:06:49 +00:00
Don't pass in the TargetInstrInfo into the register info object. It doesn't use it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184369 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0159ae4295
commit
0c92f2a1c7
@ -27,7 +27,7 @@ using namespace llvm;
|
||||
|
||||
// FIXME: Add the subtarget support on this constructor.
|
||||
NVPTXInstrInfo::NVPTXInstrInfo(NVPTXTargetMachine &tm)
|
||||
: NVPTXGenInstrInfo(), TM(tm), RegInfo(*this, *TM.getSubtargetImpl()) {}
|
||||
: NVPTXGenInstrInfo(), TM(tm), RegInfo(*TM.getSubtargetImpl()) {}
|
||||
|
||||
void NVPTXInstrInfo::copyPhysReg(
|
||||
MachineBasicBlock &MBB, MachineBasicBlock::iterator I, DebugLoc DL,
|
||||
|
@ -77,8 +77,7 @@ std::string getNVPTXRegClassStr(TargetRegisterClass const *RC) {
|
||||
}
|
||||
}
|
||||
|
||||
NVPTXRegisterInfo::NVPTXRegisterInfo(const TargetInstrInfo &tii,
|
||||
const NVPTXSubtarget &st)
|
||||
NVPTXRegisterInfo::NVPTXRegisterInfo(const NVPTXSubtarget &st)
|
||||
: NVPTXGenRegisterInfo(0), Is64Bit(st.is64Bit()) {}
|
||||
|
||||
#define GET_REGINFO_TARGET_DESC
|
||||
|
@ -35,7 +35,7 @@ private:
|
||||
ManagedStringPool ManagedStrPool;
|
||||
|
||||
public:
|
||||
NVPTXRegisterInfo(const TargetInstrInfo &tii, const NVPTXSubtarget &st);
|
||||
NVPTXRegisterInfo(const NVPTXSubtarget &st);
|
||||
|
||||
//------------------------------------------------------
|
||||
// Pure virtual functions from TargetRegisterInfo
|
||||
|
Loading…
Reference in New Issue
Block a user