[llvm] Revert "[X86] Assign AVX10_1 feature priority to align with gcc. (#94557)" (PR #94730)

Freddy Ye via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 6 23:44:41 PDT 2024


https://github.com/FreddyLeaf created https://github.com/llvm/llvm-project/pull/94730

This reverts commit d843c02aba5d253891ea0e599c4b6e25247c1af7.


>From 72c5c31ceaf1e033d06fe04be850aa843c5a2fc3 Mon Sep 17 00:00:00 2001
From: Freddy Ye <freddy.ye at intel.com>
Date: Fri, 7 Jun 2024 14:43:18 +0800
Subject: [PATCH] Revert "[X86] Assign AVX10_1 feature priority to align with
 gcc. (#94557)"

This reverts commit d843c02aba5d253891ea0e599c4b6e25247c1af7.
---
 llvm/include/llvm/TargetParser/X86TargetParser.def | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/llvm/include/llvm/TargetParser/X86TargetParser.def b/llvm/include/llvm/TargetParser/X86TargetParser.def
index f10cede0734e4..8daa8a689c95f 100644
--- a/llvm/include/llvm/TargetParser/X86TargetParser.def
+++ b/llvm/include/llvm/TargetParser/X86TargetParser.def
@@ -250,8 +250,8 @@ X86_FEATURE_COMPAT(SHA512,          "sha512",                 0)
 X86_FEATURE_COMPAT(SM4,             "sm4",                    0)
 X86_FEATURE       (EGPR,            "egpr")
 X86_FEATURE_COMPAT(USERMSR,         "usermsr",                0)
-X86_FEATURE_COMPAT(AVX10_1,         "avx10.1-256",           36)
-X86_FEATURE_COMPAT(AVX10_1_512,     "avx10.1-512",           37)
+X86_FEATURE_COMPAT(AVX10_1,         "avx10.1-256",            0)
+X86_FEATURE_COMPAT(AVX10_1_512,     "avx10.1-512",            0)
 // These features aren't really CPU features, but the frontend can set them.
 X86_FEATURE       (RETPOLINE_EXTERNAL_THUNK,    "retpoline-external-thunk")
 X86_FEATURE       (RETPOLINE_INDIRECT_BRANCHES, "retpoline-indirect-branches")



More information about the llvm-commits mailing list