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

Sergio Afonso via All-commits all-commits at lists.llvm.org
Tue Oct 29 10:05:17 PDT 2024


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


  Commit: bb7d48eeacddc39498e6cd1684f76eb41a4ca8c2
      https://github.com/llvm/llvm-project/commit/bb7d48eeacddc39498e6cd1684f76eb41a4ca8c2
  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

  Log Message:
  -----------
  Address review comments


Compare: https://github.com/llvm/llvm-project/compare/b96e79258a9b...bb7d48eeacdd

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