diff options
author | Craig Topper <craig.topper@intel.com> | 2017-11-02 03:32:50 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2017-11-02 03:32:50 +0000 |
commit | fb073aa06297727526fe8b288ca4b33f795735b1 (patch) | |
tree | 7c729f11acdc0c8d2d184fbcde980c0febbf646f | |
parent | c5a51cfc348a1d8dbfac401f7f1214a03970513d (diff) |
[X86] Remove the model checks from the 486 detection code in Host.cpplinaro-local/diana.picus/test
This just provided a bunch of comments to read and not much else.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317185 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Support/Host.cpp | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/lib/Support/Host.cpp b/lib/Support/Host.cpp index e3daadd5045..d8fb3e1dc1d 100644 --- a/lib/Support/Host.cpp +++ b/lib/Support/Host.cpp @@ -587,20 +587,7 @@ getIntelProcessorTypeAndSubtype(unsigned Family, unsigned Model, *Type = INTEL_i386; break; case 4: - switch (Model) { - case 0: // Intel486 DX processors - case 1: // Intel486 DX processors - case 2: // Intel486 SX processors - case 3: // Intel487 processors, IntelDX2 OverDrive processors, - // IntelDX2 processors - case 4: // Intel486 SL processor - case 5: // IntelSX2 processors - case 7: // Write-Back Enhanced IntelDX2 processors - case 8: // IntelDX4 OverDrive processors, IntelDX4 processors - default: - *Type = INTEL_i486; - break; - } + *Type = INTEL_i486; break; case 5: if (Features & (1 << FEATURE_MMX)) { |