mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
R600: Drop use of cached TargetMachine in AMDGPUInstrInfo.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210865 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7f8d138f50
commit
aa48b83e80
@ -320,7 +320,7 @@ int AMDGPUInstrInfo::getIndirectIndexEnd(const MachineFunction &MF) const {
|
||||
return -1;
|
||||
}
|
||||
|
||||
Offset = TM.getFrameLowering()->getFrameIndexOffset(MF, -1);
|
||||
Offset = MF.getTarget().getFrameLowering()->getFrameIndexOffset(MF, -1);
|
||||
|
||||
return getIndirectIndexBegin(MF) + Offset;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user