[all-commits] [llvm/llvm-project] b0457c: [MLIR][OpenMP] Add cleanup region to omp.declare_r...

Tom Eccles via All-commits all-commits at lists.llvm.org
Thu Apr 4 03:19:30 PDT 2024


  Branch: refs/heads/users/tblah/omp_allocatable_array_1
  Home:   https://github.com/llvm/llvm-project
  Commit: b0457ce0cc43a43a683fd825949d62212cd79aa5
      https://github.com/llvm/llvm-project/commit/b0457ce0cc43a43a683fd825949d62212cd79aa5
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2024-04-04 (Thu, 04 Apr 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
    M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M mlir/test/Dialect/OpenMP/invalid.mlir
    M mlir/test/Dialect/OpenMP/ops.mlir
    A mlir/test/Target/LLVMIR/openmp-parallel-reduction-cleanup.mlir
    A mlir/test/Target/LLVMIR/openmp-wsloop-reduction-cleanup.mlir

  Log Message:
  -----------
  [MLIR][OpenMP] Add cleanup region to omp.declare_reduction

Currently, by-ref reductions will allocate the per-thread reduction
variable in the initialization region. Adding a cleanup region allows
that allocation to be undone. This will allow flang to support reduction
of arrays stored on the heap.


  Commit: 62972403c42200b9c26c1959c59ab26c70226b07
      https://github.com/llvm/llvm-project/commit/62972403c42200b9c26c1959c59ab26c70226b07
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2024-04-04 (Thu, 04 Apr 2024)

  Changed paths:
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp

  Log Message:
  -----------
  Share code for wsloop and parallel


Compare: https://github.com/llvm/llvm-project/compare/27facf894f10...62972403c422

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