1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

[AMDGPU] Drop array size in AMDGCNGPUs and R600GPUs

Differential Revision: https://reviews.llvm.org/D89568
This commit is contained in:
Stanislav Mekhanoshin 2020-10-16 10:44:03 -07:00
parent 7ebc22e3f8
commit 7bd9c67ef6

View File

@ -30,7 +30,7 @@ struct GPUInfo {
unsigned Features; unsigned Features;
}; };
constexpr GPUInfo R600GPUs[26] = { constexpr GPUInfo R600GPUs[] = {
// Name Canonical Kind Features // Name Canonical Kind Features
// Name // Name
{{"r600"}, {"r600"}, GK_R600, FEATURE_NONE }, {{"r600"}, {"r600"}, GK_R600, FEATURE_NONE },
@ -63,7 +63,7 @@ constexpr GPUInfo R600GPUs[26] = {
// This table should be sorted by the value of GPUKind // This table should be sorted by the value of GPUKind
// Don't bother listing the implicitly true features // Don't bother listing the implicitly true features
constexpr GPUInfo AMDGCNGPUs[44] = { constexpr GPUInfo AMDGCNGPUs[] = {
// Name Canonical Kind Features // Name Canonical Kind Features
// Name // Name
{{"gfx600"}, {"gfx600"}, GK_GFX600, FEATURE_FAST_FMA_F32}, {{"gfx600"}, {"gfx600"}, GK_GFX600, FEATURE_FAST_FMA_F32},