[all-commits] [llvm/llvm-project] 808a5a: [flang][driver] Remove `%flang-new` from the LIT c...

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Tue Apr 13 03:55:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 808a5a2534cd1f9471e247bde7aef240e488078d
      https://github.com/llvm/llvm-project/commit/808a5a2534cd1f9471e247bde7aef240e488078d
  Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
  Date:   2021-04-13 (Tue, 13 Apr 2021)

  Changed paths:
    M flang/test/Driver/code-gen.f90
    M flang/test/Driver/debug-measure-parse-tree.f90
    M flang/test/Driver/driver-error-cc1.c
    M flang/test/Driver/driver-error-cc1.cpp
    M flang/test/Driver/driver-help-hidden.f90
    M flang/test/Driver/driver-help.f90
    M flang/test/Driver/driver-version.f90
    M flang/test/Driver/escaped-backslash.f90
    M flang/test/Driver/fixed-free-detection.f90
    M flang/test/Driver/fixed-free-flag.f90
    M flang/test/Driver/fixed-line-length.f90
    M flang/test/Driver/frontend-forwarding.f90
    M flang/test/Driver/implicit-none.f90
    M flang/test/Driver/include-header.f90
    M flang/test/Driver/macro-multiline.F90
    M flang/test/Driver/missing-input.f90
    M flang/test/Driver/parse-error.f95
    M flang/test/Driver/phases.f90
    M flang/test/Driver/scanning-error.f95
    M flang/test/Driver/syntax-only.f90
    R flang/test/Frontend/Inputs/hello-world.c
    M flang/test/Frontend/input-output-file.f90
    M flang/test/Frontend/multiple-input-files.f90
    M flang/test/Frontend/prescanner-diag.f90
    R flang/test/Frontend/print-preprocess-C-file.f90
    R flang/test/Frontend/print-preprocessed-file.f90
    M flang/test/lit.cfg.py
    M flang/tools/f18/f18.cpp

  Log Message:
  -----------
  [flang][driver] Remove `%flang-new` from the LIT configuration

`%flang-new` was introduced in the early days of the new driver to make
a clear distinction between the tests for the current and the new
driver. We have since introduced `%flang` (compiler driver) and
`%flang_fc1` (frontend driver) as the long term solution. This has allowed
us to share tests between `flang-new` and `f18`. This patch replaces
all uses of `%flang-new` with `%flang` and `%flang_fc1`.

Some tests are reformatted so that all tests look uniform and are easier
to follow. Where possible, `! REQUIRES: new-flang-driver` is deleted so
that more tests can be shared with `f18`. To facilitate this,
`f{no-}implicit-none` are introduced in `f18` with semantics identical
to `flang-new`.

Two tests are deleted rather than updated:
  * flang/test/Frontend/print-preprocess-C-file.f90
  * flang/test/Frontend/print-preprocessed-file.f90
Instead, there is plenty of preprocessor tests in
flang/test/Preprocessing/.

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




More information about the All-commits mailing list