From 874524ab88a9cb8a9208be281ab5103c92b8bf15 Mon Sep 17 00:00:00 2001 From: Stanislav Mekhanoshin Date: Fri, 16 Oct 2020 10:44:03 -0700 Subject: [PATCH] [AMDGPU] Drop array size in AMDGCNGPUs and R600GPUs Differential Revision: https://reviews.llvm.org/D89568 --- llvm/lib/Support/TargetParser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/lib/Support/TargetParser.cpp b/llvm/lib/Support/TargetParser.cpp index 60d102e..cb25fcf 100644 --- a/llvm/lib/Support/TargetParser.cpp +++ b/llvm/lib/Support/TargetParser.cpp @@ -30,7 +30,7 @@ struct GPUInfo { unsigned Features; }; -constexpr GPUInfo R600GPUs[26] = { +constexpr GPUInfo R600GPUs[] = { // Name Canonical Kind Features // Name {{"r600"}, {"r600"}, GK_R600, FEATURE_NONE }, @@ -63,7 +63,7 @@ constexpr GPUInfo R600GPUs[26] = { // This table should be sorted by the value of GPUKind // Don't bother listing the implicitly true features -constexpr GPUInfo AMDGCNGPUs[44] = { +constexpr GPUInfo AMDGCNGPUs[] = { // Name Canonical Kind Features // Name {{"gfx600"}, {"gfx600"}, GK_GFX600, FEATURE_FAST_FMA_F32}, -- 2.7.4