Add support for detection of Intel SandyBridge.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128920 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Roman Divacky 2011-04-05 20:25:36 +00:00
parent 57b0fb7850
commit 2a121b92bb

View File

@ -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