[all-commits] [llvm/llvm-project] fbc833: [MLIR][OpenMP] Add codegen for teams reductions (#...

Jan Leyonberg via All-commits all-commits at lists.llvm.org
Mon Apr 7 09:47:39 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fbc8335311b27d73fb685d5ebfb702f7acf134d2
      https://github.com/llvm/llvm-project/commit/fbc8335311b27d73fb685d5ebfb702f7acf134d2
  Author: Jan Leyonberg <jan_sjodin at yahoo.com>
  Date:   2025-04-07 (Mon, 07 Apr 2025)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
    M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    A mlir/test/Target/LLVMIR/omptarget-teams-distribute-reduction.mlir
    A mlir/test/Target/LLVMIR/omptarget-teams-reduction.mlir
    A mlir/test/Target/LLVMIR/openmp-teams-distribute-reduction.mlir
    A mlir/test/Target/LLVMIR/openmp-teams-reduction.mlir
    M mlir/test/Target/LLVMIR/openmp-todo.mlir
    A offload/test/offloading/fortran/basic-target-parallel-reduction.f90
    A offload/test/offloading/fortran/basic-target-teams-parallel-reduction.f90

  Log Message:
  -----------
  [MLIR][OpenMP] Add codegen for teams reductions (#133310)

This patch adds the lowering of teams reductions from the omp dialect to
LLVM-IR. Some minor cleanup was done in clang to remove an unused
parameter.



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