Skip to content

Commit fb073aa

Browse files
committed
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317185 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent c5a51cf commit fb073aa

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

lib/Support/Host.cpp

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -587,20 +587,7 @@ getIntelProcessorTypeAndSubtype(unsigned Family, unsigned Model,
587587
*Type = INTEL_i386;
588588
break;
589589
case 4:
590-
switch (Model) {
591-
case 0: // Intel486 DX processors
592-
case 1: // Intel486 DX processors
593-
case 2: // Intel486 SX processors
594-
case 3: // Intel487 processors, IntelDX2 OverDrive processors,
595-
// IntelDX2 processors
596-
case 4: // Intel486 SL processor
597-
case 5: // IntelSX2 processors
598-
case 7: // Write-Back Enhanced IntelDX2 processors
599-
case 8: // IntelDX4 OverDrive processors, IntelDX4 processors
600-
default:
601-
*Type = INTEL_i486;
602-
break;
603-
}
590+
*Type = INTEL_i486;
604591
break;
605592
case 5:
606593
if (Features & (1 << FEATURE_MMX)) {

0 commit comments

Comments
 (0)