[AArch64] Add apple-m1 CPU, and default to it for macOS.
authorAhmed Bougacha <ahmed@bougacha.org>
Thu, 15 Apr 2021 02:34:55 +0000 (19:34 -0700)
committerAhmed Bougacha <ahmed@bougacha.org>
Tue, 20 Apr 2021 15:41:04 +0000 (08:41 -0700)
commita8a3a43792472c9775c60fa79b9357033d47ce40
treeed433237f01426c76ccea4aa11c6ab4d8b21d123
parentd51b22d782eea8103c7d09da35e8a6d050e4f3c4
[AArch64] Add apple-m1 CPU, and default to it for macOS.

apple-m1 has the same level of ISA support as apple-a14,
so this is a straightforward mechanical change.  However, that
also means this inherits apple-a14's v8.5a+nobti quirkiness.

rdar://68287159
clang/lib/Driver/ToolChains/Arch/AArch64.cpp
clang/test/Driver/aarch64-mac-cpus.c
clang/test/Preprocessor/aarch64-target-features.c
llvm/include/llvm/Support/AArch64TargetParser.def
llvm/lib/Target/AArch64/AArch64.td
llvm/unittests/Support/TargetParserTest.cpp