[all-commits] [llvm/llvm-project] 008dec: [OpenMP][flang] Support GPU team reductions on all...

Kareem Ergawy via All-commits all-commits at lists.llvm.org
Thu Nov 27 01:10:44 PST 2025


  Branch: refs/heads/users/ergawy/allocatable_reduction_irbuilder2
  Home:   https://github.com/llvm/llvm-project
  Commit: 008decad1c3b1d5fdbff85b0aeb36853aa919926
      https://github.com/llvm/llvm-project/commit/008decad1c3b1d5fdbff85b0aeb36853aa919926
  Author: ergawy <kareem.ergawy at amd.com>
  Date:   2025-11-27 (Thu, 27 Nov 2025)

  Changed paths:
    M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M mlir/test/Target/LLVMIR/allocatable_gpu_reduction.mlir
    A mlir/test/Target/LLVMIR/allocatable_gpu_reduction_teams.mlir

  Log Message:
  -----------
  [OpenMP][flang] Support GPU team reductions on allocatables

Extends the work started in #165714 by supporting team reductions.
Similar to what was done in #165714, this PR introduces proper
allocations, loads, and stores for by-ref reductions in teams-related
callbacks:
* `_omp_reduction_list_to_global_copy_func`,
* `_omp_reduction_list_to_global_reduce_func`,
* `_omp_reduction_global_to_list_copy_func`, and
* `_omp_reduction_global_to_list_reduce_func`.



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