[PATCH] D25920: AMDGPU: Add missing ISA versions gfx7.x.x and 8.x.x.

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 24 12:40:17 PDT 2016


yaxunl created this revision.
yaxunl added reviewers: tstellarAMD, arsenm.
yaxunl added a subscriber: cfe-commits.
Herald added subscribers: tony-tye, wdng, kzhuravl.

Patch by Laurent Morichetti.


https://reviews.llvm.org/D25920

Files:
  lib/Basic/Targets.cpp


Index: lib/Basic/Targets.cpp
===================================================================
--- lib/Basic/Targets.cpp
+++ lib/Basic/Targets.cpp
@@ -2176,6 +2176,9 @@
       .Case("kaveri",    GK_GFX7)
       .Case("hawaii",    GK_GFX7)
       .Case("mullins",   GK_GFX7)
+      .Case("gfx700",    GK_GFX7)
+      .Case("gfx701",    GK_GFX7)
+      .Case("gfx702",    GK_GFX7)
       .Case("tonga",     GK_GFX8)
       .Case("iceland",   GK_GFX8)
       .Case("carrizo",   GK_GFX8)
@@ -2183,6 +2186,12 @@
       .Case("stoney",    GK_GFX8)
       .Case("polaris10", GK_GFX8)
       .Case("polaris11", GK_GFX8)
+      .Case("gfx800",    GK_GFX8)
+      .Case("gfx801",    GK_GFX8)
+      .Case("gfx802",    GK_GFX8)
+      .Case("gfx803",    GK_GFX8)
+      .Case("gfx804",    GK_GFX8)
+      .Case("gfx810",    GK_GFX8)
       .Default(GK_NONE);
   }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25920.75627.patch
Type: text/x-patch
Size: 857 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161024/9a8eb1cd/attachment.bin>


More information about the cfe-commits mailing list