[all-commits] [llvm/llvm-project] 26fbb2: [MLIR][OpenMP] Add host_eval clause to omp.target

Sergio Afonso via All-commits all-commits at lists.llvm.org
Wed Nov 13 05:22:14 PST 2024


  Branch: refs/heads/users/skatrak/host-eval-02-mlir
  Home:   https://github.com/llvm/llvm-project
  Commit: 26fbb25720cf472c66eef259845e1fa73668f77c
      https://github.com/llvm/llvm-project/commit/26fbb25720cf472c66eef259845e1fa73668f77c
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-11-13 (Wed, 13 Nov 2024)

  Changed paths:
    M mlir/docs/Dialects/OpenMPDialect/_index.md
    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
    M mlir/test/Target/LLVMIR/openmp-todo.mlir

  Log Message:
  -----------
  [MLIR][OpenMP] Add host_eval clause to omp.target

This patch adds the `host_eval` clause to the `omp.target` operation.
Additionally, it updates its op verifier to make sure all uses of block
arguments defined by this clause fall within one of the few cases where they
are allowed.

MLIR to LLVM IR translation fails on translation of this clause with a
not-yet-implemented error.



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