[PATCH] D89568: [AMDGPU] Drop array size in AMDGCNGPUs and R600GPUs

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 16 12:12:17 PDT 2020


rampitec updated this revision to Diff 298713.
rampitec marked 2 inline comments as done.
rampitec retitled this revision from "[AMDGPU] Drop array size in AMDGCNGPUs" to "[AMDGPU] Drop array size in AMDGCNGPUs and R600GPUs".

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D89568/new/

https://reviews.llvm.org/D89568

Files:
  llvm/lib/Support/TargetParser.cpp


Index: llvm/lib/Support/TargetParser.cpp
===================================================================
--- llvm/lib/Support/TargetParser.cpp
+++ llvm/lib/Support/TargetParser.cpp
@@ -30,7 +30,7 @@
   unsigned Features;
 };
 
-constexpr GPUInfo R600GPUs[26] = {
+constexpr GPUInfo R600GPUs[] = {
   // Name       Canonical    Kind        Features
   //            Name
   {{"r600"},    {"r600"},    GK_R600,    FEATURE_NONE },
@@ -63,7 +63,7 @@
 
 // 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},


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89568.298713.patch
Type: text/x-patch
Size: 780 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201016/5b0cdc0d/attachment.bin>


More information about the llvm-commits mailing list