[ARM64EC 2/?] Add target triple, and allow targeting it.
authorEli Friedman <efriedma@quicinc.com>
Mon, 5 Sep 2022 19:27:10 +0000 (12:27 -0700)
committerEli Friedman <efriedma@quicinc.com>
Mon, 5 Sep 2022 19:27:10 +0000 (12:27 -0700)
commit63335afb4ebaabc1f983b1f1dbb07816ef4f288f
tree5dffe7bad4b37b07ad85925c398c3e46fd869a7c
parent488ad99ecf5121f50fa59d6e1a34d78fcb73eabe
[ARM64EC 2/?] Add target triple, and allow targeting it.

Part of patchset to add initial support for ARM64EC.

Per discussion on review, using the triple arm64ec-pc-windows-msvc. The
parsing works the same way as Apple's alternate Arm ABI "arm64e".

Differential Revision: https://reviews.llvm.org/D125412
llvm/include/llvm/ADT/Triple.h
llvm/lib/Support/Triple.cpp
llvm/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.h
llvm/lib/Target/AArch64/MCTargetDesc/AArch64WinCOFFObjectWriter.cpp
llvm/test/MC/AArch64/arm64ec.s [new file with mode: 0644]