[llvm-commits] [llvm] r128920 - /llvm/trunk/lib/Support/Host.cpp
Roman Divacky
rdivacky at freebsd.org
Tue Apr 5 13:25:36 PDT 2011
Author: rdivacky
Date: Tue Apr 5 15:25:36 2011
New Revision: 128920
URL: http://llvm.org/viewvc/llvm-project?rev=128920&view=rev
Log:
Add support for detection of Intel SandyBridge.
Modified:
llvm/trunk/lib/Support/Host.cpp
Modified: llvm/trunk/lib/Support/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Host.cpp?rev=128920&r1=128919&r2=128920&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Host.cpp (original)
+++ llvm/trunk/lib/Support/Host.cpp Tue Apr 5 15:25:36 2011
@@ -214,6 +214,8 @@
// 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
More information about the llvm-commits
mailing list