[PATCH] D150856: [lit] Add %{for-each-file} substitution

Vlad Serebrennikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 3 10:11:47 PDT 2023


Endill marked 2 inline comments as done.
Endill added a comment.

In D150856#4383361 <https://reviews.llvm.org/D150856#4383361>, @jhenderson wrote:

> +1 to this. I'm struggling to envision how this will look in the lit file, which is in turn preventing me from properly providing my own feedback on the feature.`

In C++ defect report tests, we're going to use `split-file` to split single e.g. `dr1xx.cpp` into 100 smaller files, and get each of them through every of the (currently) 7 `RUN` directives specified in `dr1xx.cpp` (one per C++ revision). Before and after comparison here: https://gist.github.com/Endilll/1d8035d42bdf0dc73eaaf8a8c343bf8c/revisions?diff=unified. I hope that clarifies the intended usage.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150856



More information about the llvm-commits mailing list