diff --git a/compiler-rt/lib/builtins/cpu_model/x86.c b/compiler-rt/lib/builtins/cpu_model/x86.c index f9b95d2faf06a..606571d527501 100644 --- a/compiler-rt/lib/builtins/cpu_model/x86.c +++ b/compiler-rt/lib/builtins/cpu_model/x86.c @@ -485,7 +485,7 @@ static const char *getIntelProcessorTypeAndSubtype(unsigned Family, // Gracemont: case 0xbe: - CPU = "gracement"; + CPU = "gracemont"; *Type = INTEL_COREI7; *Subtype = INTEL_COREI7_ALDERLAKE; break; diff --git a/llvm/lib/TargetParser/Host.cpp b/llvm/lib/TargetParser/Host.cpp index 4457e481def10..cd5a678d161b7 100644 --- a/llvm/lib/TargetParser/Host.cpp +++ b/llvm/lib/TargetParser/Host.cpp @@ -815,7 +815,7 @@ static StringRef getIntelProcessorTypeAndSubtype(unsigned Family, // Gracemont case 0xbe: - CPU = "gracement"; + CPU = "gracemont"; *Type = X86::INTEL_COREI7; *Subtype = X86::INTEL_COREI7_ALDERLAKE; break;