summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2016-11-15 20:22:55 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2016-11-15 20:22:55 +0000
commitd4bb5e483118cfa2634a21689afa217134d98eab (patch)
treebda02df55583ab0a267a8cdc06d2cb28e5928c3f /llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h
parent7004d6664efde9d1148ed677649593f989cc6056 (diff)
downloadbcm5719-llvm-d4bb5e483118cfa2634a21689afa217134d98eab.tar.gz
bcm5719-llvm-d4bb5e483118cfa2634a21689afa217134d98eab.zip
AMDGPU: Enable store clustering
Also respect the TII hook for these like the generic code does in case we want a flag later to disable this. llvm-svn: 287021
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h')
-rw-r--r--llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h b/llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h
index de834f453a6..46e985dc8fd 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h
+++ b/llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h
@@ -40,6 +40,7 @@ public:
explicit AMDGPUInstrInfo(const AMDGPUSubtarget &st);
bool enableClusterLoads() const override;
+ bool enableClusterStores() const override;
bool shouldScheduleLoadsNear(SDNode *Load1, SDNode *Load2,
int64_t Offset1, int64_t Offset2,
OpenPOWER on IntegriCloud