projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove the TargetMachine forwards for TargetSubtargetInfo based
[oota-llvm.git]
/
lib
/
Target
/
R600
/
AMDGPUInstrInfo.cpp
diff --git
a/lib/Target/R600/AMDGPUInstrInfo.cpp
b/lib/Target/R600/AMDGPUInstrInfo.cpp
index c9f3fe8033f6cc2d81c6f04233cd67a06aa619ef..ac12d14cd45378ce4627aa2f4dafa01ae92c034d 100644
(file)
--- a/
lib/Target/R600/AMDGPUInstrInfo.cpp
+++ b/
lib/Target/R600/AMDGPUInstrInfo.cpp
@@
-323,7
+323,10
@@
int AMDGPUInstrInfo::getIndirectIndexEnd(const MachineFunction &MF) const {
return -1;
}
- Offset = MF.getTarget().getFrameLowering()->getFrameIndexOffset(MF, -1);
+ Offset = MF.getTarget()
+ .getSubtargetImpl()
+ ->getFrameLowering()
+ ->getFrameIndexOffset(MF, -1);
return getIndirectIndexBegin(MF) + Offset;
}