[llvm] a639312 - [X86] Fix typo of gracemont (#118486)

via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 3 04:56:57 PST 2024


Author: Phoebe Wang
Date: 2024-12-03T20:56:52+08:00
New Revision: a63931292bad148a3498fdb30bbccb43844aee86

URL: https://github.com/llvm/llvm-project/commit/a63931292bad148a3498fdb30bbccb43844aee86
DIFF: https://github.com/llvm/llvm-project/commit/a63931292bad148a3498fdb30bbccb43844aee86.diff

LOG: [X86] Fix typo of gracemont (#118486)

Added: 
    

Modified: 
    compiler-rt/lib/builtins/cpu_model/x86.c
    llvm/lib/TargetParser/Host.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/builtins/cpu_model/x86.c b/compiler-rt/lib/builtins/cpu_model/x86.c
index f9b95d2faf06ae..606571d5275013 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 4457e481def10a..cd5a678d161b7d 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;


        


More information about the llvm-commits mailing list