Skip to content

Commit a639312

Browse files
authored
[X86] Fix typo of gracemont (#118486)
1 parent 4a6ecd3 commit a639312

File tree

2 files changed

+2
-2
lines changed
  • compiler-rt/lib/builtins/cpu_model
  • llvm/lib/TargetParser

2 files changed

+2
-2
lines changed

compiler-rt/lib/builtins/cpu_model/x86.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ static const char *getIntelProcessorTypeAndSubtype(unsigned Family,
485485

486486
// Gracemont:
487487
case 0xbe:
488-
CPU = "gracement";
488+
CPU = "gracemont";
489489
*Type = INTEL_COREI7;
490490
*Subtype = INTEL_COREI7_ALDERLAKE;
491491
break;

llvm/lib/TargetParser/Host.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ static StringRef getIntelProcessorTypeAndSubtype(unsigned Family,
815815

816816
// Gracemont
817817
case 0xbe:
818-
CPU = "gracement";
818+
CPU = "gracemont";
819819
*Type = X86::INTEL_COREI7;
820820
*Subtype = X86::INTEL_COREI7_ALDERLAKE;
821821
break;

0 commit comments

Comments
 (0)