OSDN Git Service

AArch64: add apple-a14 as a CPU
authorTim Northover <t.p.northover@gmail.com>
Thu, 14 Jan 2021 09:09:54 +0000 (09:09 +0000)
committerTim Northover <t.p.northover@gmail.com>
Tue, 19 Jan 2021 14:04:53 +0000 (14:04 +0000)
commit6259fbd8b69531133d24b5367a6a2cd9b183ce48
tree8c0827b4e2910c7b58163d436db76836ea80d6fd
parent93a873dfc9ee7e8b4386dea87e43c5f238eeef06
AArch64: add apple-a14 as a CPU

This CPU supports all v8.5a features except BTI, and so identifies as v8.5a to
Clang. A bit weird, but the best way for things like xnu to detect the new
features it cares about.
llvm/include/llvm/Support/AArch64TargetParser.def
llvm/lib/Target/AArch64/AArch64.td
llvm/lib/Target/AArch64/AArch64Subtarget.cpp
llvm/lib/Target/AArch64/AArch64Subtarget.h
llvm/unittests/Support/TargetParserTest.cpp