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 | 3bbe24c3ca7b3fde753286085093068b53166aa0 (patch) | |
tree | b05cb4875ba38d42eccc20115295eb8926a4f94e /llvm/lib/Support | |
parent | 094d7914ae044b957335be075616a8c77e63a15e (diff) | |
download | bcm5719-llvm-3bbe24c3ca7b3fde753286085093068b53166aa0.tar.gz bcm5719-llvm-3bbe24c3ca7b3fde753286085093068b53166aa0.zip |
[X86] Remove the model checks from the 486 detection code in Host.cpp
This just provided a bunch of comments to read and not much else.
llvm-svn: 317185
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r-- | llvm/lib/Support/Host.cpp | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp index e3daadd5045..d8fb3e1dc1d 100644 --- a/llvm/lib/Support/Host.cpp +++ b/llvm/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)) { |