diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2014-01-22 21:55:40 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2014-01-22 21:55:40 +0000 |
commit | 1684d47d8f73250616bfbed63607121fb82555bb (patch) | |
tree | a0a9840bd8f6ed2dfe054693efd44128caac02fb /lib/Target/R600/AMDGPUSubtarget.h | |
parent | 0ed0ced91c07ca19179b6b28f3b69e8d3825c106 (diff) | |
download | llvm-1684d47d8f73250616bfbed63607121fb82555bb.tar.gz llvm-1684d47d8f73250616bfbed63607121fb82555bb.tar.bz2 llvm-1684d47d8f73250616bfbed63607121fb82555bb.tar.xz |
R600: Add wavefront size property to the subtargets v2
v2:
- Initialize wavefront size to 0
reviewed-by: Vincent Lejeune <vljn at ovi.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199838 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/R600/AMDGPUSubtarget.h')
-rw-r--r-- | lib/Target/R600/AMDGPUSubtarget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/R600/AMDGPUSubtarget.h b/lib/Target/R600/AMDGPUSubtarget.h index 060571e26b..53c7d2531a 100644 --- a/lib/Target/R600/AMDGPUSubtarget.h +++ b/lib/Target/R600/AMDGPUSubtarget.h @@ -51,6 +51,7 @@ private: bool CaymanISA; bool EnableIRStructurizer; bool EnableIfCvt; + unsigned WavefrontSize; InstrItineraryData InstrItins; @@ -68,6 +69,7 @@ public: bool hasCaymanISA() const; bool IsIRStructurizerEnabled() const; bool isIfCvtEnabled() const; + unsigned getWavefrontSize() const; virtual bool enableMachineScheduler() const { return getGeneration() <= NORTHERN_ISLANDS; |