aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-05-06 16:12:05 +0000
committerTom Stellard <thomas.stellard@amd.com>2013-05-06 16:12:05 +0000
commitfd4aa4bec35161615fcee1db2c39ca1c25b1426e (patch)
treebee380758da684aae777b6e6d0c4ed58f219a1dc /lib
parent745dacfcd1c9747a443b40683393aeb5f14d6f7b (diff)
R600: Update GPU variants in -mcpu option
We've added the RS880 variant in the LLVM backend to represent an R600 GPU with no vertex cache, so we need to update the GPU mappings for -mcpu. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181202 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Driver/Tools.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp
index 89b1a0c91b..ef4b005efc 100644
--- a/lib/Driver/Tools.cpp
+++ b/lib/Driver/Tools.cpp
@@ -1135,11 +1135,11 @@ static std::string getR600TargetGPU(const ArgList &Args) {
if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) {
std::string GPUName = A->getValue();
return llvm::StringSwitch<const char *>(GPUName)
- .Cases("rv610", "rv620", "rv630", "r600")
- .Cases("rv635", "rs780", "rs880", "r600")
+ .Cases("rv630", "rv635", "r600")
+ .Cases("rv610", "rv620", "rs780", "rs880")
.Case("rv740", "rv770")
.Case("palm", "cedar")
- .Cases("sumo", "sumo2", "redwood")
+ .Cases("sumo", "sumo2", "sumo")
.Case("hemlock", "cypress")
.Case("aruba", "cayman")
.Default(GPUName.c_str());