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

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 16 10:45:22 PDT 2020


rampitec created this revision.
rampitec added reviewers: foad, kzhuravl.
Herald added subscribers: hiraditya, t-tye, tpr, dstuttard, yaxunl.
Herald added a project: LLVM.
rampitec requested review of this revision.
Herald added a subscriber: wdng.

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
@@ -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.298670.patch
Type: text/x-patch
Size: 533 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201016/e8e57872/attachment.bin>


More information about the llvm-commits mailing list