projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f8d138
)
R600: Drop use of cached TargetMachine in AMDGPUInstrInfo.cpp
author
Tom Stellard
<thomas.stellard@amd.com>
Fri, 13 Jun 2014 01:02:57 +0000
(
01:02
+0000)
committer
Tom Stellard
<thomas.stellard@amd.com>
Fri, 13 Jun 2014 01:02:57 +0000
(
01:02
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210865
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/R600/AMDGPUInstrInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/R600/AMDGPUInstrInfo.cpp
b/lib/Target/R600/AMDGPUInstrInfo.cpp
index 1c3361a265811f0eb4dbfe233872569bcae2df14..0e1afb04905592415898cc1fd73b820583840b8d 100644
(file)
--- a/
lib/Target/R600/AMDGPUInstrInfo.cpp
+++ b/
lib/Target/R600/AMDGPUInstrInfo.cpp
@@
-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;
}