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

Sergio Afonso via All-commits all-commits at lists.llvm.org
Wed Jan 8 06:48:05 PST 2025


  Branch: refs/heads/users/skatrak/host-eval-02-mlir
  Home:   https://github.com/llvm/llvm-project
  Commit: bd7fa379968210047a25e031a8385ff0c43a3fb7
      https://github.com/llvm/llvm-project/commit/bd7fa379968210047a25e031a8385ff0c43a3fb7
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2025-01-08 (Wed, 08 Jan 2025)

  Changed paths:
    M mlir/docs/Dialects/OpenMPDialect/_index.md
    M mlir/include/mlir/Dialect/OpenMP/OpenMPDialect.h
    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