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

Freddy Ye via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 6 00:00:39 PDT 2024


================
@@ -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",            0)
-X86_FEATURE_COMPAT(AVX10_1_512,     "avx10.1-512",            0)
+X86_FEATURE_COMPAT(AVX10_1,         "avx10.1-256",           36)
----------------
FreddyLeaf wrote:

We can't do so, the location of X86_FEATURE_COMPAT also  has influence. need to align with gcc/compiler-rt

https://github.com/llvm/llvm-project/pull/94557


More information about the llvm-commits mailing list