[PATCH] D151696: [x86] Remove CPU_SPECIFIC* MACROs and add getCPUDispatchMangling

Freddy, Ye via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 20 23:57:05 PDT 2023


FreddyYe added inline comments.


================
Comment at: clang/test/CodeGen/attr-cpuspecific.c:342
 
-// CHECK: attributes #[[S]] = {{.*}}"target-features"="+avx,+cmov,+crc32,+cx8,+f16c,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave"
 // CHECK-SAME: "tune-cpu"="ivybridge"
----------------
pengfei wrote:
> Why `cmov` disappearing? This feature is supported by most recent targets. Same below.
Good catch. Seems like frontend codes missed CMOV from the very beginning, while X86.td doesn't have this issue. Will update.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151696/new/

https://reviews.llvm.org/D151696



More information about the cfe-commits mailing list