summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Host.cpp
diff options
context:
space:
mode:
authorPreston Gurd <preston.gurd@intel.com>2012-05-02 21:38:46 +0000
committerPreston Gurd <preston.gurd@intel.com>2012-05-02 21:38:46 +0000
commitc0b976c42a36a8692efb7aee7491a26ebb8741b5 (patch)
tree01d4092b3e3e33254e4b2b56bb86d5bbea8a2ded /llvm/lib/Support/Host.cpp
parentb5f167c660e144f01017b86b49e912bf8711ba6a (diff)
downloadbcm5719-llvm-c0b976c42a36a8692efb7aee7491a26ebb8741b5.tar.gz
bcm5719-llvm-c0b976c42a36a8692efb7aee7491a26ebb8741b5.zip
Change the Intel Atom detection code to recognize
Lincroft and Medfield. llvm-svn: 156025
Diffstat (limited to 'llvm/lib/Support/Host.cpp')
-rw-r--r--llvm/lib/Support/Host.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp
index a5e0cb061c1..6d42780cc28 100644
--- a/llvm/lib/Support/Host.cpp
+++ b/llvm/lib/Support/Host.cpp
@@ -234,8 +234,9 @@ std::string sys::getHostCPUName() {
case 58:
return "core-avx-i";
- case 28: // Intel Atom processor. All processors are manufactured using
- // the 45 nm process
+ case 28: // Most 45 nm Intel Atom processors
+ case 38: // 45 nm Atom Lincroft
+ case 39: // 32 nm Atom Medfield
return "atom";
default: return "i686";
OpenPOWER on IntegriCloud