[all-commits] [llvm/llvm-project] 374e82: [flang] (Re-)Enable alias tags pass by default (#7...

Tom Eccles via All-commits all-commits at lists.llvm.org
Mon Dec 4 07:28:30 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 374e8288e047da640090629879072e4fa3af31fe
      https://github.com/llvm/llvm-project/commit/374e8288e047da640090629879072e4fa3af31fe
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M clang/lib/Driver/ToolChains/Flang.cpp
    M flang/include/flang/Tools/CLOptions.inc
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/test/Driver/falias-analysis.f90
    M flang/test/Driver/mlir-pass-pipeline.f90
    M flang/test/Driver/optimization-remark.f90
    M flang/test/Fir/basic-program.fir
    M flang/tools/tco/tco.cpp

  Log Message:
  -----------
  [flang] (Re-)Enable alias tags pass by default (#74250)

Enable by default for optimization levels higher than 0 (same behavior
as clang).

For simplicity, only forward the flag to the frontend driver when it
contradicts what is implied by the optimization level.

This was first landed in
https://github.com/llvm/llvm-project/pull/73111 but was later reverted
due to a performance regression. That regression was fixed by
https://github.com/llvm/llvm-project/pull/74065.




More information about the All-commits mailing list