[all-commits] [llvm/llvm-project] 915784: [X86] Sync compiler-rt cpu subtypes and vendors wi...
Mikołaj Piróg via All-commits
all-commits at lists.llvm.org
Tue Jul 7 06:03:36 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 91578461e8a112941afeed18679efb168b81f796
https://github.com/llvm/llvm-project/commit/91578461e8a112941afeed18679efb168b81f796
Author: Mikołaj Piróg <mikolaj.maciej.pirog at intel.com>
Date: 2026-07-07 (Tue, 07 Jul 2026)
Changed paths:
M clang/lib/Basic/Targets/X86.cpp
M clang/lib/CodeGen/TargetBuiltins/X86.cpp
A clang/test/CodeGen/builtin-cpu-is-cputype.c
A clang/test/CodeGen/builtin-cpu-is-subtype.c
A clang/test/CodeGen/builtin-cpu-is-vendor.c
R clang/test/CodeGen/builtin-cpu-is.c
A clang/test/CodeGen/builtin-cpu-supports-all.c
M compiler-rt/lib/builtins/cpu_model/x86.c
M llvm/include/llvm/TargetParser/X86TargetParser.def
M llvm/include/llvm/TargetParser/X86TargetParser.h
M llvm/lib/TargetParser/X86TargetParser.cpp
Log Message:
-----------
[X86] Sync compiler-rt cpu subtypes and vendors with libgcc and refactor internal cpu type tables in LLVM (#171172)
This is a continuation of previous PR:
https://github.com/llvm/llvm-project/pull/168750
compiler-rt was synced with libgcc on ProcessorVendor and
ProcessorSubtype fields and so was llvm. Cpu type, subtype and vendor
entries in X86TargetParser.def were refactored to use ABI_VALUE.
LLVM doesn't set the ABI_VALUE for its enums -- clang now takes care of
that by reading the ABI_VALUE.
I've removed and added some comments to better explain what is going on.
While at it, I've added tests to check that right values are passed for
vendor, subtypes, types and features (the last ones weren't added in
feature sync PR: https://github.com/llvm/llvm-project/pull/168750)
Parts of the PR (test) have been realized using Claude Code
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list