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

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 21a6032eca9715e48a6a689f4cbdf22e66bb143a
      https://github.com/llvm/llvm-project/commit/21a6032eca9715e48a6a689f4cbdf22e66bb143a
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-10-31 (Thu, 31 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 (#114036)

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