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

Sergio Afonso via All-commits all-commits at lists.llvm.org
Thu Oct 31 04:37:11 PDT 2024


  Branch: refs/heads/users/skatrak/mlir-omp-err-02
  Home:   https://github.com/llvm/llvm-project
  Commit: efea914a7fe411bbc9171d4ef5a1abacc845cddc
      https://github.com/llvm/llvm-project/commit/efea914a7fe411bbc9171d4ef5a1abacc845cddc
  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

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