[llvm-commits] [PATCH]: SandyBridge detection

Roman Divacky rdivacky at freebsd.org
Tue Apr 5 13:14:21 PDT 2011


ok to commit?

Index: lib/Support/Host.cpp
===================================================================
--- lib/Support/Host.cpp	(revision 128883)
+++ lib/Support/Host.cpp	(working copy)
@@ -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