diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2014-06-17 16:53:14 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2014-06-17 16:53:14 +0000 |
commit | f56e7678d1ced97d5513e0a75658dc48396e4a58 (patch) | |
tree | 72898cf24c9d9becee91dec7b74d37c2bbfc9242 /lib/Target/R600/AMDGPUSubtarget.h | |
parent | ff8dc48da387719d4b4c4712715be0e2d2672d87 (diff) | |
download | llvm-f56e7678d1ced97d5513e0a75658dc48396e4a58.tar.gz llvm-f56e7678d1ced97d5513e0a75658dc48396e4a58.tar.bz2 llvm-f56e7678d1ced97d5513e0a75658dc48396e4a58.tar.xz |
R600: Use LDS and vectors for private memory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211110 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 411aaf9711..9c78f35df3 100644 --- a/lib/Target/R600/AMDGPUSubtarget.h +++ b/lib/Target/R600/AMDGPUSubtarget.h @@ -56,6 +56,7 @@ private: bool EnableIfCvt; unsigned WavefrontSize; bool CFALUBug; + int LocalMemorySize; InstrItineraryData InstrItins; @@ -109,6 +110,7 @@ public: unsigned getWavefrontSize() const; unsigned getStackEntrySize() const; bool hasCFAluBug() const; + int getLocalMemorySize() const; bool enableMachineScheduler() const override { return getGeneration() <= NORTHERN_ISLANDS; |