diff options
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/R600/AMDILDeviceInfo.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/Target/R600/Processors.td | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Target/R600/AMDILDeviceInfo.cpp b/llvm/lib/Target/R600/AMDILDeviceInfo.cpp index 19792b73e2d..178795936a2 100644 --- a/llvm/lib/Target/R600/AMDILDeviceInfo.cpp +++ b/llvm/lib/Target/R600/AMDILDeviceInfo.cpp @@ -44,7 +44,7 @@ AMDGPUDevice* getDeviceFromName(const std::string &deviceName, " on 32bit pointers!"); #endif return new AMDGPUEvergreenDevice(ptr); - } else if (deviceName == "redwood") { + } else if (deviceName == "redwood" || deviceName == "sumo") { #if DEBUG assert(!is64bit && "This device does not support 64bit pointers!"); assert(!is64on32bit && "This device does not support 64bit" diff --git a/llvm/lib/Target/R600/Processors.td b/llvm/lib/Target/R600/Processors.td index b9229d499d1..c2cc63ac3ee 100644 --- a/llvm/lib/Target/R600/Processors.td +++ b/llvm/lib/Target/R600/Processors.td @@ -15,11 +15,13 @@ class Proc<string Name, ProcessorItineraries itin, list<SubtargetFeature> Featur : Processor<Name, itin, Features>; def : Proc<"", R600_EG_Itin, [FeatureR600ALUInst]>; def : Proc<"r600", R600_EG_Itin, [FeatureR600ALUInst]>; +def : Proc<"rs880", R600_EG_Itin, [FeatureR600ALUInst]>; def : Proc<"rv670", R600_EG_Itin, [FeatureR600ALUInst, FeatureFP64]>; def : Proc<"rv710", R600_EG_Itin, []>; def : Proc<"rv730", R600_EG_Itin, []>; def : Proc<"rv770", R600_EG_Itin, [FeatureFP64]>; def : Proc<"cedar", R600_EG_Itin, [FeatureByteAddress, FeatureImages]>; +def : Proc<"sumo", R600_EG_Itin, [FeatureByteAddress, FeatureImages]>; def : Proc<"redwood", R600_EG_Itin, [FeatureByteAddress, FeatureImages]>; def : Proc<"juniper", R600_EG_Itin, [FeatureByteAddress, FeatureImages]>; def : Proc<"cypress", R600_EG_Itin, [FeatureByteAddress, FeatureImages, FeatureFP64]>; |

