[all-commits] [llvm/llvm-project] b985d6: [MLIR][OpenMP] Simplify translation to LLVM IR err...

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


  Branch: refs/heads/users/skatrak/mlir-omp-err-01
  Home:   https://github.com/llvm/llvm-project
  Commit: b985d63e078019582d4018df34d9a1fb34165d30
      https://github.com/llvm/llvm-project/commit/b985d63e078019582d4018df34d9a1fb34165d30
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-10-28 (Mon, 28 Oct 2024)

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

  Log Message:
  -----------
  [MLIR][OpenMP] Simplify translation to LLVM IR error handling

This patch unifies the handling of errors passed through the OpenMPIRBuilder
and removes some redundant error messages through the introduction of a custom
`ErrorInfo` subclass.

Additionally, the current list of operations and clauses unsupported by the
MLIR to LLVM IR translation pass is added to a new Lit test to check they are
being reported to the user.



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