[all-commits] [llvm/llvm-project] 274719: [Flang][MLIR][OpenMP] Remove the early outlining i...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Thu Jan 18 07:33:55 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2747193058706ba12156c6380e8769df781d028f
      https://github.com/llvm/llvm-project/commit/2747193058706ba12156c6380e8769df781d028f
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-01-18 (Thu, 18 Jan 2024)

  Changed paths:
    M flang/lib/Optimizer/Transforms/ExternalNameConversion.cpp
    M flang/test/Fir/external-mangling.fir
    M mlir/include/mlir/Dialect/OpenMP/OpenMPInterfaces.h
    M mlir/include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.td
    M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M mlir/test/Dialect/OpenMP/attr.mlir
    M mlir/test/Target/LLVMIR/omptarget-parallel-llvm.mlir
    R mlir/test/Target/LLVMIR/omptarget-region-llvm-target-device.mlir

  Log Message:
  -----------
  [Flang][MLIR][OpenMP] Remove the early outlining interface (#78450)

After the removal of the OpenMP early outlining MLIR pass in #67319, the
`EarlyOutliningInterface` stopped doing any useful work. It used to be
necessary to tie the name of the function from which a target region was
outlined to that new function, so it would be used when translating to
LLVM IR in place of the outlined function's name.

This is not necessary anymore, so this patch removes all references to
this interface and uses of the `omp.outline_parent_name` discardable
attribute in tests.




More information about the All-commits mailing list