[all-commits] [llvm/llvm-project] 25dc3a: [MLIR][OpenMP] Update omp.wsloop translation to LL...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Thu Apr 18 03:53:16 PDT 2024


  Branch: refs/heads/users/skatrak/spr/wsloop-wrapper-04-llvm-ir
  Home:   https://github.com/llvm/llvm-project
  Commit: 25dc3a45645ab2310606b2ab02346eed700c7f97
      https://github.com/llvm/llvm-project/commit/25dc3a45645ab2310606b2ab02346eed700c7f97
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-04-18 (Thu, 18 Apr 2024)

  Changed paths:
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M mlir/test/Target/LLVMIR/omptarget-parallel-wsloop.mlir
    M mlir/test/Target/LLVMIR/omptarget-wsloop-collapsed.mlir
    M mlir/test/Target/LLVMIR/omptarget-wsloop.mlir
    M mlir/test/Target/LLVMIR/openmp-data-target-device.mlir
    M mlir/test/Target/LLVMIR/openmp-llvm.mlir
    M mlir/test/Target/LLVMIR/openmp-nested.mlir
    M mlir/test/Target/LLVMIR/openmp-reduction.mlir
    M mlir/test/Target/LLVMIR/openmp-wsloop-reduction-cleanup.mlir

  Log Message:
  -----------
  [MLIR][OpenMP] Update omp.wsloop translation to LLVM IR (4/5)

This patch introduces minimal changes to the MLIR to LLVM IR translation of
omp.wsloop to support the loop wrapper approach.

There is `omp.loop_nest` related translation code that should be extracted and
shared among all loop operations (e.g. `omp.simd`). This would possibly also
help in the addition of support for compound constructs later on. This first
approach is only intended to keep things running after the transition to loop
wrappers and not to add support for other use cases enabled by that transition.

This PR on its own will not pass premerge tests. All patches in the stack are
needed before it can be compiled and passes tests.



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