[clang] Add vendor identity for Hygon Dhyana processor to cpuid.h
authorCraig Topper <craig.topper@intel.com>
Fri, 1 May 2020 01:04:25 +0000 (18:04 -0700)
committerCraig Topper <craig.topper@intel.com>
Fri, 1 May 2020 01:17:01 +0000 (18:17 -0700)
commitaf28e02e74fbc9f955d292c19fa6dc790386bc4b
tree530f9fdc1ffed0ab3807faf54e41c7a0da57858e
parent8cb8fe909bc8fac7d756e06d0a70967a1e24a583
[clang] Add vendor identity for Hygon Dhyana processor to cpuid.h

The vendor id is used to determine whether the processor
supports hardware CRC32 in the Scudo code. The previous
discussion about the patch is in [1], and more information
about Hygon Dhyana processor is in[2].

[1]: https://reviews.llvm.org/D62368
[2]: https://git.kernel.org/torvalds/c/c9661c1e80b609cd038db7c908e061f0535804ef

Patch by fanjinke (Jinke Fan)

Differential Revision: https://reviews.llvm.org/D78874
clang/lib/Headers/cpuid.h