Fix a typo in my previous commit -- bloomfield is 0x1A not 0x2A.
authorChandler Carruth <chandlerc@gmail.com>
Mon, 10 Dec 2012 18:22:40 +0000 (18:22 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 10 Dec 2012 18:22:40 +0000 (18:22 +0000)
Thanks to the PaX folks for noticing in review! We need some tests here,
any sugestions welcome...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169739 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86Subtarget.cpp

index bdce4d0221bc59c3b1bcca8b6969dff106c575fd..b4d554a64e66e2bbdc51521b9175b6f58d1d6b33 100644 (file)
@@ -240,7 +240,7 @@ void X86Subtarget::AutoDetectSubtargetFeatures() {
     if (IsIntel &&
         ((Family == 6 && Model == 0x1E) || // Nehalem: Clarksfield, Lynnfield,
                                            //          Jasper Froest
-         (Family == 6 && Model == 0x2A) || // Nehalem: Bloomfield, Nehalem-EP
+         (Family == 6 && Model == 0x1A) || // Nehalem: Bloomfield, Nehalem-EP
          (Family == 6 && Model == 0x2E) || // Nehalem: Nehalem-EX
          (Family == 6 && Model == 0x25) || // Westmere: Arrandale, Clarksdale
          (Family == 6 && Model == 0x2C) || // Westmere: Gulftown, Westmere-EP