aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/X86TargetParser.cpp
diff options
context:
space:
mode:
authorFreddy Ye <freddy.ye@intel.com>2022-09-02 11:53:43 +0800
committerFreddy Ye <freddy.ye@intel.com>2022-09-02 16:06:07 +0800
commit66f332bc1ac04430580a8498ab5537b392f3ea1e (patch)
tree089e24c8d3c188f780dcf278a1073d3632303e8e /llvm/lib/Support/X86TargetParser.cpp
parent4ed30c81d36d4518c63e951fe4b2e4df5a19fd0e (diff)
downloadllvm-66f332bc1ac04430580a8498ab5537b392f3ea1e.zip
llvm-66f332bc1ac04430580a8498ab5537b392f3ea1e.tar.gz
llvm-66f332bc1ac04430580a8498ab5537b392f3ea1e.tar.bz2
[X86] Add missing key feature for core2
Reviewed By: erichkeane Differential Revision: https://reviews.llvm.org/D133094
Diffstat (limited to 'llvm/lib/Support/X86TargetParser.cpp')
-rw-r--r--llvm/lib/Support/X86TargetParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/X86TargetParser.cpp b/llvm/lib/Support/X86TargetParser.cpp
index 2567f3e..bb62102 100644
--- a/llvm/lib/Support/X86TargetParser.cpp
+++ b/llvm/lib/Support/X86TargetParser.cpp
@@ -321,7 +321,7 @@ constexpr ProcInfo Processors[] = {
{ {"prescott"}, CK_Prescott, ~0U, FeaturesPrescott },
{ {"nocona"}, CK_Nocona, ~0U, FeaturesNocona },
// Core microarchitecture based processors.
- { {"core2"}, CK_Core2, ~0U, FeaturesCore2 },
+ { {"core2"}, CK_Core2, FEATURE_SSSE3, FeaturesCore2 },
{ {"penryn"}, CK_Penryn, ~0U, FeaturesPenryn },
// Atom processors
{ {"bonnell"}, CK_Bonnell, FEATURE_SSSE3, FeaturesBonnell },