summaryrefslogtreecommitdiff
path: root/lib/Support/Host.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2012-04-23 22:41:39 +0000
committerEvan Cheng <evan.cheng@apple.com>2012-04-23 22:41:39 +0000
commitaff59685a9ff59edb525a1be2120e9d0206f3bb8 (patch)
tree1a96d4bf46d60dbeaff2c81c1bfa6c081ed5fc97 /lib/Support/Host.cpp
parentc92ba4e90501e407c8f71a18e62b8858513085ed (diff)
downloadllvm-aff59685a9ff59edb525a1be2120e9d0206f3bb8.tar.gz
llvm-aff59685a9ff59edb525a1be2120e9d0206f3bb8.tar.bz2
llvm-aff59685a9ff59edb525a1be2120e9d0206f3bb8.tar.xz
Add a missing cpu subtype.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155402 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Host.cpp')
-rw-r--r--lib/Support/Host.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Support/Host.cpp b/lib/Support/Host.cpp
index 0f0696438c..a5e0cb061c 100644
--- a/lib/Support/Host.cpp
+++ b/lib/Support/Host.cpp
@@ -230,6 +230,10 @@ std::string sys::getHostCPUName() {
case 45:
return "corei7-avx";
+ // Ivy Bridge:
+ case 58:
+ return "core-avx-i";
+
case 28: // Intel Atom processor. All processors are manufactured using
// the 45 nm process
return "atom";