[all-commits] [llvm/llvm-project] 9aff19: [flang] Defined SafeTempArrayCopyAttrInterface for...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Thu Apr 10 18:42:16 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9aff19e7a3ff22ad15dc52609c65c785d4621fca
      https://github.com/llvm/llvm-project/commit/9aff19e7a3ff22ad15dc52609c65c785d4621fca
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2025-04-10 (Thu, 10 Apr 2025)

  Changed paths:
    M flang/docs/ArrayRepacking.md
    M flang/include/flang/Lower/ConvertVariable.h
    M flang/include/flang/Optimizer/Dialect/CMakeLists.txt
    M flang/include/flang/Optimizer/Dialect/FIRAttr.h
    M flang/include/flang/Optimizer/Dialect/FIRAttr.td
    M flang/include/flang/Optimizer/Dialect/FIRDialect.h
    M flang/include/flang/Optimizer/Dialect/FIROps.h
    M flang/include/flang/Optimizer/Dialect/FIROps.td
    A flang/include/flang/Optimizer/Dialect/SafeTempArrayCopyAttrInterface.h
    A flang/include/flang/Optimizer/Dialect/SafeTempArrayCopyAttrInterface.td
    M flang/include/flang/Optimizer/OpenACC/RegisterOpenACCExtensions.h
    A flang/include/flang/Optimizer/OpenMP/Support/RegisterOpenMPExtensions.h
    M flang/include/flang/Optimizer/Support/InitFIR.h
    M flang/lib/Frontend/CMakeLists.txt
    M flang/lib/Frontend/FrontendActions.cpp
    M flang/lib/Lower/ConvertVariable.cpp
    M flang/lib/Optimizer/CodeGen/CMakeLists.txt
    M flang/lib/Optimizer/CodeGen/LowerRepackArrays.cpp
    M flang/lib/Optimizer/Dialect/CMakeLists.txt
    M flang/lib/Optimizer/Dialect/FIRAttr.cpp
    A flang/lib/Optimizer/Dialect/SafeTempArrayCopyAttrInterface.cpp
    M flang/lib/Optimizer/OpenACC/CMakeLists.txt
    A flang/lib/Optimizer/OpenACC/FIROpenACCAttributes.cpp
    M flang/lib/Optimizer/OpenACC/RegisterOpenACCExtensions.cpp
    M flang/lib/Optimizer/OpenMP/CMakeLists.txt
    A flang/lib/Optimizer/OpenMP/Support/CMakeLists.txt
    A flang/lib/Optimizer/OpenMP/Support/FIROpenMPAttributes.cpp
    A flang/lib/Optimizer/OpenMP/Support/RegisterOpenMPExtensions.cpp
    A flang/test/Lower/repack-arrays-safe.f90
    A flang/test/Transforms/lower-repack-arrays-openacc.fir
    A flang/test/Transforms/lower-repack-arrays-openmp.fir
    M flang/tools/bbc/CMakeLists.txt
    M flang/tools/fir-lsp-server/CMakeLists.txt
    M flang/tools/fir-opt/CMakeLists.txt
    M flang/tools/tco/CMakeLists.txt

  Log Message:
  -----------
  [flang] Defined SafeTempArrayCopyAttrInterface for array repacking. (#134346)

This patch defines `fir::SafeTempArrayCopyAttrInterface` and the
corresponding
OpenACC/OpenMP related attributes in FIR dialect. The actual
implementations
are just placeholders right now, and array repacking becomes a no-op
if `-fopenacc/-fopenmp` is used for the compilation.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list