summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/R600/AMDGPUInstrInfo.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2014-07-24 02:10:17 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2014-07-24 02:10:17 +0000
commit034d666bb76c69babd55f86ef6b3e6c09f3e1df9 (patch)
treece7949aa285cedad956f6a0d135767f191594605 /llvm/lib/Target/R600/AMDGPUInstrInfo.cpp
parent9a2a2c502b34a4697930c2c6bfbbf460c27b08c8 (diff)
downloadbcm5719-llvm-034d666bb76c69babd55f86ef6b3e6c09f3e1df9.tar.gz
bcm5719-llvm-034d666bb76c69babd55f86ef6b3e6c09f3e1df9.zip
R600: Implement enableClusterLoads()
llvm-svn: 213831
Diffstat (limited to 'llvm/lib/Target/R600/AMDGPUInstrInfo.cpp')
-rw-r--r--llvm/lib/Target/R600/AMDGPUInstrInfo.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/R600/AMDGPUInstrInfo.cpp b/llvm/lib/Target/R600/AMDGPUInstrInfo.cpp
index fef5b8cac5b..747b3d26364 100644
--- a/llvm/lib/Target/R600/AMDGPUInstrInfo.cpp
+++ b/llvm/lib/Target/R600/AMDGPUInstrInfo.cpp
@@ -215,6 +215,10 @@ AMDGPUInstrInfo::getOpcodeAfterMemoryUnfold(unsigned Opc,
return 0;
}
+bool AMDGPUInstrInfo::enableClusterLoads() const {
+ return true;
+}
+
bool AMDGPUInstrInfo::shouldScheduleLoadsNear(SDNode *Load1, SDNode *Load2,
int64_t Offset1, int64_t Offset2,
unsigned NumLoads) const {
OpenPOWER on IntegriCloud