r194751 - R600: Add processor type for Hawaii
Tom Stellard
thomas.stellard at amd.com
Thu Nov 14 15:45:53 PST 2013
Author: tstellar
Date: Thu Nov 14 17:45:53 2013
New Revision: 194751
URL: http://llvm.org/viewvc/llvm-project?rev=194751&view=rev
Log:
R600: Add processor type for Hawaii
Modified:
cfe/trunk/lib/Basic/Targets.cpp
cfe/trunk/test/Driver/r600-mcpu.cl
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=194751&r1=194750&r2=194751&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Thu Nov 14 17:45:53 2013
@@ -1539,6 +1539,7 @@ public:
.Case("bonaire", GK_SEA_ISLANDS)
.Case("kabini", GK_SEA_ISLANDS)
.Case("kaveri", GK_SEA_ISLANDS)
+ .Case("hawaii", GK_SEA_ISLANDS)
.Default(GK_NONE);
if (GPU == GK_NONE) {
Modified: cfe/trunk/test/Driver/r600-mcpu.cl
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/r600-mcpu.cl?rev=194751&r1=194750&r2=194751&view=diff
==============================================================================
--- cfe/trunk/test/Driver/r600-mcpu.cl (original)
+++ cfe/trunk/test/Driver/r600-mcpu.cl Thu Nov 14 17:45:53 2013
@@ -33,6 +33,7 @@
// RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=bonaire %s -o - 2>&1 | FileCheck --check-prefix=BONAIRE-CHECK %s
// RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=kabini %s -o - 2>&1 | FileCheck --check-prefix=KABINI-CHECK %s
// RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=kaveri %s -o - 2>&1 | FileCheck --check-prefix=KAVERI-CHECK %s
+// RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=hawaii %s -o - 2>&1 | FileCheck --check-prefix=HAWAII-CHECK %s
// R600-CHECK: "-target-cpu" "r600"
// RS880-CHECK: "-target-cpu" "rs880"
@@ -56,3 +57,4 @@
// BONAIRE-CHECK: "-target-cpu" "bonaire"
// KABINI-CHECK: "-target-cpu" "kabini"
// KAVERI-CHECK: "-target-cpu" "kaveri"
+// HAWAII-CHECK: "-target-cpu" "hawaii"
More information about the cfe-commits
mailing list