From e82327a6ab6a72d10a1a5994e01ec05b7a4ae69b Mon Sep 17 00:00:00 2001
From: Craig Topper <craig.topper@gmail.com>
Date: Mon, 30 Mar 2015 06:31:03 +0000
Subject: [PATCH] [X86] Family 6 model 29 is a Penryn based processor not a
 Nehalem based processor.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233514 91177308-0d34-0410-b5e6-96231b3b80d8
---
 lib/Support/Host.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/Support/Host.cpp b/lib/Support/Host.cpp
index a50e8437bdf..984070e11c3 100644
--- a/lib/Support/Host.cpp
+++ b/lib/Support/Host.cpp
@@ -324,13 +324,13 @@ StringRef sys::getHostCPUName() {
                // 17h. All processors are manufactured using the 45 nm process.
                //
                // 45nm: Penryn , Wolfdale, Yorkfield (XE)
+      case 29: // Intel Xeon processor MP. All processors are manufactured using
+               // the 45 nm process.
         // Not all Penryn processors support SSE 4.1 (such as the Pentium brand)
         return HasSSE41 ? "penryn" : "core2";
 
       case 26: // Intel Core i7 processor and Intel Xeon processor. All
                // processors are manufactured using the 45 nm process.
-      case 29: // Intel Xeon processor MP. All processors are manufactured using
-               // the 45 nm process.
       case 30: // Intel(R) Core(TM) i7 CPU         870  @ 2.93GHz.
                // As found in a Summer 2010 model iMac.
       case 37: // Intel Core i7, laptop version.
-- 
2.34.1