[llvm] 874524a - [AMDGPU] Drop array size in AMDGCNGPUs and R600GPUs
Stanislav Mekhanoshin via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 16 12:37:33 PDT 2020
Author: Stanislav Mekhanoshin
Date: 2020-10-16T12:37:22-07:00
New Revision: 874524ab88a9cb8a9208be281ab5103c92b8bf15
URL: https://github.com/llvm/llvm-project/commit/874524ab88a9cb8a9208be281ab5103c92b8bf15
DIFF: https://github.com/llvm/llvm-project/commit/874524ab88a9cb8a9208be281ab5103c92b8bf15.diff
LOG: [AMDGPU] Drop array size in AMDGCNGPUs and R600GPUs
Differential Revision: https://reviews.llvm.org/D89568
Added:
Modified:
llvm/lib/Support/TargetParser.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Support/TargetParser.cpp b/llvm/lib/Support/TargetParser.cpp
index 60d102ee69bd..cb25fcfdd019 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},
More information about the llvm-commits
mailing list