[Driver] Split up huge arm-cortex-cpus.c test.
authorFlorian Hahn <flo@fhahn.com>
Fri, 4 Mar 2022 11:37:00 +0000 (11:37 +0000)
committerFlorian Hahn <flo@fhahn.com>
Fri, 4 Mar 2022 11:37:00 +0000 (11:37 +0000)
commitfb42e557d8b4c8430a75391bbb5af309b5472685
tree50dd5602797a7b5880c77352d6b248ef5b9f051d
parent8f5bdaf481c3f4e6876a5ae0e4d7c6ed2042e6a6
[Driver] Split up huge arm-cortex-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/2832724/

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/D120876
clang/test/Driver/arm-cortex-cpus-1.c [new file with mode: 0644]
clang/test/Driver/arm-cortex-cpus-2.c [moved from clang/test/Driver/arm-cortex-cpus.c with 58% similarity]