[PATCH] D120875: [Driver] Split up huge aarch64-cpus.c test.

Florian Hahn via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 3 01:39:46 PST 2022


fhahn added a comment.

In D120875#3356432 <https://reviews.llvm.org/D120875#3356432>, @simon_tatham wrote:

>> While splitting up the test file is not ideal [...]
>
> Actually I'm not so sure. I'd almost rather go further, and split it up into lots of //much// smaller files, each with some kind of reasonable theme, like "all the basically v8.1-A stuff" or "all the v8M".
>
> The advantage of that is that it sets an obvious pattern for the next developer to follow – they look at the existing tests, notice there are lots of separate files, and make a fresh one rather than extending an existing one. Doing it this way, all that will happen is that one of the -1 and -2 files gets too big again in a year or two's time :-)

Agreed, more fine-grained splitting would be ideal, but unfortunately I am not familiar enough with all the intricacies of the test to perform more fine-grained splitting.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120875/new/

https://reviews.llvm.org/D120875



More information about the cfe-commits mailing list