summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit7fd160700f7283a0a51366cfa9eac9d0e0857e9b (patch)
treecb76d5a8b4518cc0db390cd022d1f1fe03cd80d8 /llvm/lib/Support/Host.cpp
parent671ad2a5724739f2c168f3507bfed43d01e677e4 (diff)
downloadbcm5719-llvm-7fd160700f7283a0a51366cfa9eac9d0e0857e9b.tar.gz
bcm5719-llvm-7fd160700f7283a0a51366cfa9eac9d0e0857e9b.zip
Add a missing cpu subtype.
llvm-svn: 155402
Diffstat (limited to 'llvm/lib/Support/Host.cpp')
-rw-r--r--llvm/lib/Support/Host.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp
index 0f0696438ca..a5e0cb061c1 100644
--- a/llvm/lib/Support/Host.cpp
+++ b/llvm/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";
OpenPOWER on IntegriCloud