
Hitting LLVM Git today ahead of the LLVM/Clang 23.1 release later in the year is initial targeting for Hygon x86 CPUs with the c86-4g-m4, c86-4g-m6, and c86-4g-m7 CPU targets.
The initial merge includes adding these CPU targets to LLVM and Clang, host CPU detection, compiler-rt CPU model detection, Hygon added to the optimizer tests, and also the scheduler models for Hygon architecture CPUs.
These C86-4G x86 Chinese CPUs have previously been reported to perform similar to roughly Intel Raptor Lake processors.
This commit lands that initial compiler targeting for LLVM/Clang.