From 2a121b92bbacd1215e1a62f2967d43ff7e3d451b Mon Sep 17 00:00:00 2001 From: Roman Divacky Date: Tue, 5 Apr 2011 20:25:36 +0000 Subject: [PATCH] Add support for detection of Intel SandyBridge. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128920 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/Host.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Support/Host.cpp b/lib/Support/Host.cpp index 4dacf9691d6..911c64accec 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 -- 2.34.1