mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
R600: Drop use of cached TargetMachine in R600InstrInfo.cpp
llvm-svn: 210868
This commit is contained in:
parent
e726a14d05
commit
3e20fabeaf
@ -1067,7 +1067,8 @@ unsigned int R600InstrInfo::getInstrLatency(const InstrItineraryData *ItinData,
|
||||
void R600InstrInfo::reserveIndirectRegisters(BitVector &Reserved,
|
||||
const MachineFunction &MF) const {
|
||||
const AMDGPUFrameLowering *TFL =
|
||||
static_cast<const AMDGPUFrameLowering*>(TM.getFrameLowering());
|
||||
static_cast<const AMDGPUFrameLowering*>(
|
||||
MF.getTarget().getFrameLowering());
|
||||
|
||||
unsigned StackWidth = TFL->getStackWidth(MF);
|
||||
int End = getIndirectIndexEnd(MF);
|
||||
|
Loading…
Reference in New Issue
Block a user