]> granicus.if.org Git - llvm/commit
[AMDGPU] Fix bug when calculating user_spgr_count for Code Object V3 assembler
authorScott Linder <scott@scottlinder.com>
Wed, 28 Aug 2019 19:38:15 +0000 (19:38 +0000)
committerScott Linder <scott@scottlinder.com>
Wed, 28 Aug 2019 19:38:15 +0000 (19:38 +0000)
commit4bd6a4544d8ca1822312596b173e0a925244f91a
tree19346be867668cd017448869e29bbb72e977ddf5
parent1fc37cd9317339ccc833e4da958d196711e4df3b
[AMDGPU] Fix bug when calculating user_spgr_count for Code Object V3 assembler

Stop counting explicitly disabled user_spgr's in the user_sgpr_count field of the kernel descriptor.

Differential Revision: https://reviews.llvm.org/D66900

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370250 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
test/MC/AMDGPU/hsa-v3.s