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

Sergio Afonso via All-commits all-commits at lists.llvm.org
Tue Jan 14 02:21:13 PST 2025


  Branch: refs/heads/users/skatrak/host-eval-02-mlir
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f57b94e7a9870bf838b191b86d6f1579452ea09
      https://github.com/llvm/llvm-project/commit/5f57b94e7a9870bf838b191b86d6f1579452ea09
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2025-01-14 (Tue, 14 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