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 | 92d313a021ea531dfddb335d257a3e84ad38a1e6 (patch) | |
tree | 06f74adba8905111c260a978eee3d81701bd9b0b /llvm/lib/Support/Host.cpp | |
parent | e20fec7732a59bd1e32d673502ff0659f3c1349e (diff) | |
download | bcm5719-llvm-92d313a021ea531dfddb335d257a3e84ad38a1e6.tar.gz bcm5719-llvm-92d313a021ea531dfddb335d257a3e84ad38a1e6.zip |
Add support for detection of Intel SandyBridge.
llvm-svn: 128920
Diffstat (limited to 'llvm/lib/Support/Host.cpp')
-rw-r--r-- | llvm/lib/Support/Host.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp index 4dacf9691d6..911c64accec 100644 --- a/llvm/lib/Support/Host.cpp +++ b/llvm/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 |