[all-commits] [llvm/llvm-project] a082cc: Add Apple M4 host detection (#117530)
Mads Marquart via All-commits
all-commits at lists.llvm.org
Thu Jan 16 08:15:35 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a082cc145f98a2075e53d7cbc1058288781154ac
https://github.com/llvm/llvm-project/commit/a082cc145f98a2075e53d7cbc1058288781154ac
Author: Mads Marquart <mads at marquart.dk>
Date: 2025-01-16 (Thu, 16 Jan 2025)
Changed paths:
M llvm/lib/TargetParser/Host.cpp
Log Message:
-----------
Add Apple M4 host detection (#117530)
Add Apple M4 host detection, which fixes
https://github.com/rust-lang/rust/issues/133414.
Also add support for older ARM families (this is likely never going to
get used, since only macOS is officially supported as host OS, but nice
to have for completeness sake). Error handling (checking
`CPUFAMILY_UNKNOWN`) is also included here.
Finally, add links to extra documentation to make it easier for others
to update this in the future.
NOTE: These values are taken from `mach/machine.h` the Xcode 16.2 SDK,
and has been confirmed on an M4 Max in
https://github.com/rust-lang/rust/issues/133414#issuecomment-2499123337.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list