aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-12-01 18:24:17 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-12-01 18:24:17 +0000
commit618f89f22a5bf355648e84d833fd9cef54183662 (patch)
treee124622c8fea4c351865a24c73c60f051ffe7009
parent32b6c59ad068d2bb2466dd33bc17d8c865760215 (diff)
Autodetect bulldozers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145607 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Support/Host.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Support/Host.cpp b/lib/Support/Host.cpp
index a19e4b4118..86d1c5d341 100644
--- a/lib/Support/Host.cpp
+++ b/lib/Support/Host.cpp
@@ -298,6 +298,8 @@ std::string sys::getHostCPUName() {
}
case 16:
return "amdfam10";
+ case 21:
+ return "bdver1";
default:
return "generic";
}