aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/TargetParser/Host.cpp
diff options
context:
space:
mode:
authorFreddy Ye <freddy.ye@intel.com>2023-08-21 08:48:45 +0800
committerFreddy Ye <freddy.ye@intel.com>2023-08-21 08:49:01 +0800
commit6acff5390d0504ef0e805a7266a48398fb67876c (patch)
treee34feb94ec21b3833a6b00cf829e4302ebf84931 /llvm/lib/TargetParser/Host.cpp
parenta695be7c288753ae9bcb656e7af683313927e5fa (diff)
downloadllvm-6acff5390d0504ef0e805a7266a48398fb67876c.zip
llvm-6acff5390d0504ef0e805a7266a48398fb67876c.tar.gz
llvm-6acff5390d0504ef0e805a7266a48398fb67876c.tar.bz2
[X86] Support -march=gracemont
gracemont has some different tuning features from alderlake. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D158046
Diffstat (limited to 'llvm/lib/TargetParser/Host.cpp')
-rw-r--r--llvm/lib/TargetParser/Host.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/TargetParser/Host.cpp b/llvm/lib/TargetParser/Host.cpp
index 1c4feff..c795952 100644
--- a/llvm/lib/TargetParser/Host.cpp
+++ b/llvm/lib/TargetParser/Host.cpp
@@ -822,6 +822,8 @@ getIntelProcessorTypeAndSubtype(unsigned Family, unsigned Model,
// Alderlake:
case 0x97:
case 0x9a:
+ // Gracemont
+ case 0xbe:
// Raptorlake:
case 0xb7:
case 0xba: