[all-commits] [llvm/llvm-project] d0d038: [flang][OpenMP] Support `target ... nowait` (#111823)

Kareem Ergawy via All-commits all-commits at lists.llvm.org
Tue Oct 15 05:39:38 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d0d03805f8829a1a2f3fba2c2d2a54c827021f00
      https://github.com/llvm/llvm-project/commit/d0d03805f8829a1a2f3fba2c2d2a54c827021f00
  Author: Kareem Ergawy <kareem.ergawy at amd.com>
  Date:   2024-10-15 (Tue, 15 Oct 2024)

  Changed paths:
    M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M mlir/test/Target/LLVMIR/omptarget-nowait-llvm.mlir
    A mlir/test/Target/LLVMIR/omptarget-nowait-unsupported-llvm.mlir

  Log Message:
  -----------
  [flang][OpenMP] Support `target ... nowait` (#111823)

Adds MLIR to LLVM lowering support for `target ... nowait`. This
leverages the already existings code-gen patterns for `task` by treating
`target ... nowait` as `task ... if(1)` and `target` (without `nowait`)
as `task ... if(0)`; similar to what clang does.



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