[all-commits] [llvm/llvm-project] bd6c21: [MLIR][OpenMP] Emit descriptive errors for all uns...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Thu Oct 31 05:00:13 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bd6c21460f67ba5e4780491cbe404e2252e3c04d
      https://github.com/llvm/llvm-project/commit/bd6c21460f67ba5e4780491cbe404e2252e3c04d
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-10-31 (Thu, 31 Oct 2024)

  Changed paths:
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M mlir/test/Target/LLVMIR/openmp-todo.mlir

  Log Message:
  -----------
  [MLIR][OpenMP] Emit descriptive errors for all unsupported clauses (#114037)

This patch improves error reporting in the MLIR to LLVM IR translation
pass for the 'omp' dialect by emitting descriptive errors when
encountering clauses not yet supported by that pass.

Additionally, not-yet-implemented errors previously missing for some
clauses are added, to avoid silently ignoring them.

Error messages related to inlining of `omp.private` and
`omp.declare_reduction` regions have been updated to use the same
format.



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