[all-commits] [llvm/llvm-project] 715cde: [flang][nfc] Refine how output is defined in a test

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Wed Aug 30 06:39:20 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 715cde0a2558c6a2d3655af40234a958d0461d86
  Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
  Date:   2023-08-30 (Wed, 30 Aug 2023)

  Changed paths:
    M flang/test/Driver/optimization-remark.f90

  Log Message:
  [flang][nfc] Refine how output is defined in a test

Updates optimization-remark.f90. Makes sure that every RUN line:
* discords the actual output of the compilation (we only care about the
  optimisation remarks),
* re-uses the same definition of the output (better code re-use),
* doesn't generate object files - no need to use `-c` if `-emit-llvm` is

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

More information about the All-commits mailing list