AArch64: remove SM4 support from Apple CPUs.
authorTim Northover <tnorthover@apple.com>
Thu, 26 Jan 2023 12:52:59 +0000 (12:52 +0000)
committerTim Northover <tnorthover@apple.com>
Thu, 26 Jan 2023 13:00:36 +0000 (13:00 +0000)
commitecec44f2ae733b3848d4dd71324f5fdc33adc62e
tree17b9bf48beb707a274c826ffe680444eaef49578
parentce4fcea59e1d5829b4355b6401d7265be23f617a
AArch64: remove SM4 support from Apple CPUs.

The CPUs never supported SM4 instructions, but until recently I think crypto
was folded into the baseline architecture as a monolithic feature so it was
difficult to represent that. Now it's split we can, and the CPUs that support
v8.4 onwards only handle AES, SHA2, SHA3 by way of crypto instructions.
clang/test/Preprocessor/aarch64-target-features.c
llvm/include/llvm/TargetParser/AArch64TargetParser.h
llvm/unittests/TargetParser/TargetParserTest.cpp