[Driver] Split up huge aarch64-cpus.c test.
authorFlorian Hahn <flo@fhahn.com>
Fri, 4 Mar 2022 11:24:12 +0000 (11:24 +0000)
committerFlorian Hahn <flo@fhahn.com>
Fri, 4 Mar 2022 11:24:12 +0000 (11:24 +0000)
commit8f5bdaf481c3f4e6876a5ae0e4d7c6ed2042e6a6
tree3ddc9411e570c0be04ca64824899d94d0a32090e
parente348b09bb5b1c21f6af17e3390807947a049f37e
[Driver] Split up huge aarch64-cpus.c test.

This test file has grown to the point where it takes a huge amount of
time to run. At the moment, this test seems to consistently time out
when running in the pre-commit checks in Phabricator with a 10 minute
timeout. For example see
https://reviews.llvm.org/harbormaster/unit/view/2832723/

While splitting up the test file is not ideal, it is even more
undesirable to have huge test files that time out in common settings.

This patch splits up the test file roughly in the middle.

Reviewed By: dmgreen

Differential Revision: https://reviews.llvm.org/D120875
clang/test/Driver/aarch64-cpus-1.c [moved from clang/test/Driver/aarch64-cpus.c with 53% similarity]
clang/test/Driver/aarch64-cpus-2.c [new file with mode: 0644]