diff options
author | Roman Divacky <rdivacky@freebsd.org> | 2011-04-05 20:25:36 +0000 |
---|---|---|
committer | Roman Divacky <rdivacky@freebsd.org> | 2011-04-05 20:25:36 +0000 |
commit | 2a121b92bbacd1215e1a62f2967d43ff7e3d451b (patch) | |
tree | cf0856e337a3597362c9d6d46072043d4380485f /lib/Support/Host.cpp | |
parent | 57b0fb7850bcfc676bf2927fdf530024454c89c6 (diff) |
Add support for detection of Intel SandyBridge.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128920 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Host.cpp')
-rw-r--r-- | lib/Support/Host.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Support/Host.cpp b/lib/Support/Host.cpp index 4dacf9691d..911c64acce 100644 --- a/lib/Support/Host.cpp +++ b/lib/Support/Host.cpp @@ -214,6 +214,8 @@ std::string sys::getHostCPUName() { // As found in a Summer 2010 model iMac. case 37: // Intel Core i7, laptop version. return "corei7"; + case 42: // SandyBridge + return "sandybridge"; case 28: // Intel Atom processor. All processors are manufactured using // the 45 nm process |