Use GFX9 granulated sgprs count correctly.
authorAndrew Stubbs <ams@codesourcery.com>
Fri, 22 Nov 2019 14:42:49 +0000 (14:42 +0000)
committerAndrew Stubbs <ams@gcc.gnu.org>
Fri, 22 Nov 2019 14:42:49 +0000 (14:42 +0000)
commitaa84ec8415bd413b693e5ea0610e98f3b6216ad5
tree9c86e22e0f51d7228bee7e91cac8ecc018136777
parent9fd052e775623581d2d277a1688b9fde94cb18d2
Use GFX9 granulated sgprs count correctly.

2019-11-22  Andrew Stubbs  <ams@codesourcery.com>

gcc/
* config/gcn/gcn.c (gcn_hsa_declare_function_name): Calculate
granulated_sgprs according to architecture.

From-SVN: r278617
gcc/ChangeLog
gcc/config/gcn/gcn.c