[all-commits] [llvm/llvm-project] fc66db: [fir] Add external name interop pass

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Tue Oct 5 11:34:37 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fc66dbba1fe0a3120abd98134a1a8aebfede8553
      https://github.com/llvm/llvm-project/commit/fc66dbba1fe0a3120abd98134a1a8aebfede8553
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2021-10-05 (Tue, 05 Oct 2021)

  Changed paths:
    M flang/include/flang/Optimizer/Support/InternalNames.h
    M flang/include/flang/Optimizer/Transforms/Passes.h
    M flang/include/flang/Optimizer/Transforms/Passes.td
    M flang/lib/Optimizer/Support/InternalNames.cpp
    M flang/lib/Optimizer/Transforms/CMakeLists.txt
    A flang/lib/Optimizer/Transforms/ExternalNameConversion.cpp
    A flang/lib/Optimizer/Transforms/PassDetail.h
    A flang/test/Fir/external-mangling-emboxproc.fir
    A flang/test/Fir/external-mangling.fir
    M flang/tools/fir-opt/CMakeLists.txt
    M flang/tools/fir-opt/fir-opt.cpp
    M flang/unittests/Optimizer/InternalNamesTest.cpp

  Log Message:
  -----------
  [fir] Add external name interop pass

Add the external name conversion pass needed for compiler
interoperability. This pass convert the Flang internal symbol name to
the common gfortran convention.

Clean up old passes without implementation in the Passes.ts file so
the project and fir-opt can build correctly.

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: schweitz

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




More information about the All-commits mailing list