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

Sergio Afonso via All-commits all-commits at lists.llvm.org
Tue Oct 29 04:41:23 PDT 2024


  Branch: refs/heads/users/skatrak/mlir-omp-err-02
  Home:   https://github.com/llvm/llvm-project
  Commit: b96e79258a9b54e4d9962bc250af2138e25fec7b
      https://github.com/llvm/llvm-project/commit/b96e79258a9b54e4d9962bc250af2138e25fec7b
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-10-29 (Tue, 29 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

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