[llvm] r181792 - R600/SI: Add processor type for Hainan asic
Tom Stellard
thomas.stellard at amd.com
Tue May 14 07:42:56 PDT 2013
Author: tstellar
Date: Tue May 14 09:42:56 2013
New Revision: 181792
URL: http://llvm.org/viewvc/llvm-project?rev=181792&view=rev
Log:
R600/SI: Add processor type for Hainan asic
Patch by: Alex Deucher
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
NOTE: This is a candidate for the 3.3 branch.
Modified:
llvm/trunk/lib/Target/R600/AMDILDeviceInfo.cpp
llvm/trunk/lib/Target/R600/Processors.td
Modified: llvm/trunk/lib/Target/R600/AMDILDeviceInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/AMDILDeviceInfo.cpp?rev=181792&r1=181791&r2=181792&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/AMDILDeviceInfo.cpp (original)
+++ llvm/trunk/lib/Target/R600/AMDILDeviceInfo.cpp Tue May 14 09:42:56 2013
@@ -81,7 +81,8 @@ AMDGPUDevice* getDeviceFromName(const st
return new AMDGPUNIDevice(ptr);
} else if (deviceName == "SI" ||
deviceName == "tahiti" || deviceName == "pitcairn" ||
- deviceName == "verde" || deviceName == "oland") {
+ deviceName == "verde" || deviceName == "oland" ||
+ deviceName == "hainan") {
return new AMDGPUSIDevice(ptr);
} else {
#if DEBUG
Modified: llvm/trunk/lib/Target/R600/Processors.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/Processors.td?rev=181792&r1=181791&r2=181792&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/Processors.td (original)
+++ llvm/trunk/lib/Target/R600/Processors.td Tue May 14 09:42:56 2013
@@ -45,3 +45,4 @@ def : Proc<"tahiti", SI_Itin, [Featu
def : Proc<"pitcairn", SI_Itin, [Feature64BitPtr, FeatureFP64]>;
def : Proc<"verde", SI_Itin, [Feature64BitPtr, FeatureFP64]>;
def : Proc<"oland", SI_Itin, [Feature64BitPtr, FeatureFP64]>;
+def : Proc<"hainan", SI_Itin, [Feature64BitPtr, FeatureFP64]>;
More information about the llvm-commits
mailing list