R600/SI: Fix config value for number of gprs
authorTom Stellard <thomas.stellard@amd.com>
Fri, 19 Sep 2014 20:42:37 +0000 (20:42 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 19 Sep 2014 20:42:37 +0000 (20:42 +0000)
commitea28172c61db79d6b8327eb4fc7ff9f690961f75
tree8893f6509d10022f2424d5f1aeeec62c5f6e5cec
parent4ea1a1185a9062d544211688008253bd4814bef0
R600/SI: Fix config value for number of gprs

In r217636, the value stored in KernelInfo.Num[VS]GPRSs was changed from
the highest GPR index used to the number of gprs in order to be
consistent with the name of the variable.

The code writing the config values still assumed that the value in this
variable was the highest GPR index used, which caused the compiler to
over report the number of GPRs being used.

https://bugs.freedesktop.org/show_bug.cgi?id=84089

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218150 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUAsmPrinter.cpp