[PATCH] D125412: [ARM64EC 2/?] Add target triple, and allow targeting it.

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 12 00:28:35 PDT 2022


mstorsjo added a comment.

> For lack of any better idea, I'm using the triple aarch64-pc-windows-msvc_arm64ec. Suggestions for a better name welcome... or if you think I should use some other mechanism to distinguish.

I'm not 100% sold on using `msvc_arm64ec` like this... If we'd want to use this ABI mode for mingw targets too (not quite sure right now if it's doable and something that one wants to do at some point, or if it ties in to too many other MSVC specifics), I guess that would have to be another separate target like `...-gnu_arm64ec` - using up yet another entry in `enum EnvironmentType` for it.

Another potential option could be to use subarches, like is done in apple toolchains, for selecting different ABIs within the same architecture, like `armv7k` and `arm64e` there. I presume that blocks using that field for finer details, like `armv8.5a` though (not sure how common that is).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125412/new/

https://reviews.llvm.org/D125412



More information about the llvm-commits mailing list