[clang] [compiler-rt] [llvm] [X86] Add missing checks for attribute target testing (PR #218697)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 19:56:45 PDT 2026


================
@@ -32,7 +32,21 @@ int __attribute__((target("arch=clearwaterforest"))) foo(void) {return 26;}
 int __attribute__((target("arch=diamondrapids"))) foo(void) {return 27;}
 int __attribute__((target("arch=wildcatlake"))) foo(void) {return 28;}
 int __attribute__((target("arch=novalake"))) foo(void) {return 29;}
-int __attribute__((target("apxf"))) foo(void) {return 30;}
----------------
phoebewang wrote:

There are also sse4.2, avx etc. in this file. Unlike attr-target-x86.c‎, this file also test features multi-verisioning. So we should keep one for apxf too.

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


More information about the llvm-commits mailing list