[PATCH] D122569: [lit] Support %if ... %else syntax for RUN lines

Andrew Savonichev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 11 08:38:18 PDT 2022


asavonic added a comment.

In D122569#3441717 <https://reviews.llvm.org/D122569#3441717>, @lebedev.ri wrote:

> Please don't forget to also update the `llvm/utils/update_*_checks.py`.

It seems that update_*_checks.py scripts are completely independent of lit.py, so there is no way to easily reuse code between them. Parsing of RUN lines and standard substitutions is duplicated there. We have to either integrate these scripts, or copy paste the code.


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

https://reviews.llvm.org/D122569



More information about the llvm-commits mailing list