summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h')
-rw-r--r--llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h b/llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
index c6844d36479..416772199da 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
+++ b/llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
@@ -105,6 +105,7 @@ protected:
bool Has16BitInsts;
bool HasMovrel;
bool HasVGPRIndexMode;
+ bool HasScalarStores;
bool FlatAddressSpace;
bool R600ALUInst;
bool CaymanISA;
@@ -527,6 +528,10 @@ public:
return getGeneration() >= VOLCANIC_ISLANDS;
}
+ bool hasScalarStores() const {
+ return HasScalarStores;
+ }
+
bool enableSIScheduler() const {
return EnableSIScheduler;
}
OpenPOWER on IntegriCloud