[all-commits] [llvm/llvm-project] 65cd0d: [flang] Remove `%f18` from LIT configuration files

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Thu May 6 01:43:31 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 65cd0d6be47730cefdd5be26c12f02ec59b4d08e
      https://github.com/llvm/llvm-project/commit/65cd0d6be47730cefdd5be26c12f02ec59b4d08e
  Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
  Date:   2021-05-06 (Thu, 06 May 2021)

  Changed paths:
    M flang/test/Driver/help-f18.f90
    M flang/test/lit.cfg.py

  Log Message:
  -----------
  [flang] Remove `%f18` from LIT configuration files

`%f18` was originally introduced to represent the old Flang driver,
`f18`. With the introduction of the new driver, `flang-new`, we have
been switching to `%flang` (compiler driver) and `%flang_fc1` (frontend
driver) as more generic alternatives.

As most tests have been portend to use the new LIT variables instead of
`%f18`, this is good time to remove it from lit.cfg.py. There's only one
test left that requires the old driver to run. It's updated with:
```
! REQUIRES: old-flang-driver
```
This way we preserve its semantics while reducing the number of
variables in LIT configuration.

Differential Revision: https://reviews.llvm.org/D101281




More information about the All-commits mailing list