[all-commits] [llvm/llvm-project] f1d4ce: [flang] Add ExternalNameConversionPass to pass pip...

Diana via All-commits all-commits at lists.llvm.org
Fri May 6 01:03:56 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f1d4cef8528eceef4d6aaaae1f99d927fd5c370d
      https://github.com/llvm/llvm-project/commit/f1d4cef8528eceef4d6aaaae1f99d927fd5c370d
  Author: Diana Picus <diana.picus at linaro.org>
  Date:   2022-05-06 (Fri, 06 May 2022)

  Changed paths:
    M flang/include/flang/Tools/CLOptions.inc
    A flang/test/Driver/disable-ext-name-interop.f90
    A flang/test/Driver/mlir-pass-pipeline.f90
    M flang/test/Fir/basic-program.fir
    M flang/tools/tco/tco.cpp

  Log Message:
  -----------
  [flang] Add ExternalNameConversionPass to pass pipeline

This seems to be the consensus in
https://github.com/flang-compiler/f18-llvm-project/issues/1316

The patch adds ExternalNameConversion to the default FIR CodeGen pass
pipeline, right before the FIRtoLLVM pass. It also adds a flag to
optionally disable it, and sets it in `tco`. In other words, `flang-new`
and `flang-new -fc1` will both run the pass by default, whereas `tco`
will not, so none of the tests need to be updated.

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




More information about the All-commits mailing list