[Driver] Re-enable aarch64-cpus.c test for arm64-apple.
authorAhmed Bougacha <ahmed@bougacha.org>
Tue, 12 Oct 2021 01:31:01 +0000 (18:31 -0700)
committerAhmed Bougacha <ahmed@bougacha.org>
Tue, 12 Oct 2021 01:46:26 +0000 (18:46 -0700)
commitc30a52852ba5e85bdd3b1b70b4add7335fabca9a
treefc16c9a66e305d125d428e65b98e5b9d31884a5d
parent998e067a0a579bd483c2a2d411385e58494ffbca
[Driver] Re-enable aarch64-cpus.c test for arm64-apple.

"darwin" is ambiguous.  When there isn't a better source
of truth (e.g., SDKs), the driver will either interpret it
as "iOS" when cross-compiling to a different architecture,
or "the host" when not.  That's now the case on AS Macs.

Update the test to more explicitly test the OS.
aarch64-mac-cpus.c already tests the mac-specific driver logic.
clang/test/Driver/aarch64-cpus.c