diff --git a/llvm/lib/TargetParser/Host.cpp b/llvm/lib/TargetParser/Host.cpp index 6486d3c57bb0cb..4e35ff1bc35f09 100644 --- a/llvm/lib/TargetParser/Host.cpp +++ b/llvm/lib/TargetParser/Host.cpp @@ -979,8 +979,7 @@ static const char *getIntelProcessorTypeAndSubtype(unsigned Family, // Clearwaterforest: case 0xdd: CPU = "clearwaterforest"; - *Type = X86::INTEL_COREI7; - *Subtype = X86::INTEL_CLEARWATERFOREST; + *Type = X86::INTEL_CLEARWATERFOREST; break; // Xeon Phi (Knights Landing + Knights Mill):