[PATCH] D82699: [driver][arm64] Set target CPU to A12 for compiler invocations that target Apple Silicon

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 6 09:38:56 PST 2020


thakis added a comment.

Testing this out: `--target=arm64-apple-macos` now does the right thing, but `-march arm64` sets the target triple to iOS (and hence doesn't pass the a12 cpu either). That's different from what Xcode clang does. Could you upstream whatever causes that difference too?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D82699



More information about the cfe-commits mailing list