From 92d313a021ea531dfddb335d257a3e84ad38a1e6 Mon Sep 17 00:00:00 2001 From: Roman Divacky Date: Tue, 5 Apr 2011 20:25:36 +0000 Subject: Add support for detection of Intel SandyBridge. llvm-svn: 128920 --- llvm/lib/Support/Host.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/Support/Host.cpp') diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp index 4dacf96..911c64a 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 -- cgit v1.1