Add a missing cpu subtype.
authorEvan Cheng <evan.cheng@apple.com>
Mon, 23 Apr 2012 22:41:39 +0000 (22:41 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 23 Apr 2012 22:41:39 +0000 (22:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155402 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/Host.cpp

index 0f0696438ca6f609772e47575ee63e5aff35364d..a5e0cb061c1227c221fe940d2f798ca22c8cf9c5 100644 (file)
@@ -230,6 +230,10 @@ std::string sys::getHostCPUName() {
       case 45:
         return "corei7-avx";
 
+      // Ivy Bridge:
+      case 58:
+        return "core-avx-i";
+
       case 28: // Intel Atom processor. All processors are manufactured using
                // the 45 nm process
         return "atom";