This is an archive of the discontinued LLVM Phabricator instance.

Driver: Make macOS the default target OS for -arch arm64
AcceptedPublic

Authored by dexonsmith on Mar 18 2022, 1:17 PM.

Details

Summary

This is a follow up to 565603cc94d79a8d0de6df840fd53714899fb890,
which made macOS the default target OS for -arch arm64 when
running on an Apple Silicon Mac. Now it'll be the default when
running on an Intel Mac too.

clang/test/Driver/apple-arm64-arch.c was a bit odd before: it was added
for the above commit, but tested the inverse behaviour and XFAIL'ed on
Apple Silicon. This inverts it to the (new) behaviour (that's now
correct regardless) and removes the XFAIL.

Radar-Id: rdar://90500294

Diff Detail

Event Timeline

dexonsmith created this revision.Mar 18 2022, 1:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 18 2022, 1:17 PM
dexonsmith requested review of this revision.Mar 18 2022, 1:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 18 2022, 1:17 PM
arphaman accepted this revision.Mar 18 2022, 1:26 PM
This revision is now accepted and ready to land.Mar 18 2022, 1:26 PM