diff options
author | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2019-10-02 00:26:58 +0000 |
---|---|---|
committer | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2019-10-02 00:26:58 +0000 |
commit | 075bc48a7f4c78d72530ae1d7fdde7f97b74d6a0 (patch) | |
tree | 7348d19613f79cda67688450e6db9384b1b2b57f /llvm/lib/Target/AMDGPU/SIProgramInfo.h | |
parent | d838cf76caca4636ad4884c77a9a6ff0616c1d97 (diff) | |
download | bcm5719-llvm-075bc48a7f4c78d72530ae1d7fdde7f97b74d6a0.tar.gz bcm5719-llvm-075bc48a7f4c78d72530ae1d7fdde7f97b74d6a0.zip |
[AMDGPU] separate accounting for agprs
Account and report agprs separately on gfx908. Other targets
do not change the reporting.
Differential Revision: https://reviews.llvm.org/D68307
llvm-svn: 373411
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SIProgramInfo.h')
-rw-r--r-- | llvm/lib/Target/AMDGPU/SIProgramInfo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIProgramInfo.h b/llvm/lib/Target/AMDGPU/SIProgramInfo.h index 94ebe693feb..7c039a54b57 100644 --- a/llvm/lib/Target/AMDGPU/SIProgramInfo.h +++ b/llvm/lib/Target/AMDGPU/SIProgramInfo.h @@ -41,6 +41,8 @@ struct SIProgramInfo { uint64_t ComputePGMRSrc2 = 0; uint32_t NumVGPR = 0; + uint32_t NumArchVGPR = 0; + uint32_t NumAccVGPR = 0; uint32_t NumSGPR = 0; uint32_t LDSSize = 0; bool FlatUsed = false; |