[clang] [llvm] [llvm][AArch64] Support -mcpu=apple-m4 (PR #95478)

Martin Storsjö via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 14 09:06:14 PDT 2024


================
@@ -1010,6 +1034,9 @@ def : ProcessorModel<"apple-a16", CycloneModel, ProcessorFeatures.AppleA16,
                      [TuneAppleA16]>;
 def : ProcessorModel<"apple-a17", CycloneModel, ProcessorFeatures.AppleA17,
                      [TuneAppleA17]>;
+def : ProcessorModel<"apple-m4", CycloneModel, ProcessorFeatures.AppleM4,
----------------
mstorsjo wrote:

Ah, right - sorry I forgot about that distinction. (I guess it'll end up in macs at some point too, and I know you can't comment on that - so until then this is indeed the right sorting.)

https://github.com/llvm/llvm-project/pull/95478


More information about the cfe-commits mailing list