aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-01-10 11:50:02 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-01-10 11:50:02 +0000
commit66a7fd78ee761fdf9c7f9ec13241949da3f6df24 (patch)
treee100547637154c62f0aeffd0946bed9cfe1742b2 /lib/Support
parenta937633893432b4cdbd1a32602c566f0a006f2fd (diff)
downloadexternal_llvm-66a7fd78ee761fdf9c7f9ec13241949da3f6df24.zip
external_llvm-66a7fd78ee761fdf9c7f9ec13241949da3f6df24.tar.gz
external_llvm-66a7fd78ee761fdf9c7f9ec13241949da3f6df24.tar.bz2
Add definitions for AMD's bobcat (aka btver1)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147846 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
-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 86d1c5d..3f3cdca 100644
--- a/lib/Support/Host.cpp
+++ b/lib/Support/Host.cpp
@@ -298,6 +298,8 @@ std::string sys::getHostCPUName() {
}
case 16:
return "amdfam10";
+ case 20:
+ return "btver1";
case 21:
return "bdver1";
default: