[all-commits] [llvm/llvm-project] 0cd7e8: [MLIR][OpenMP] Assert on map translation functions...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Thu May 15 04:29:28 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0cd7e8aa911dd4d0d6f4c43bef28fd853cf929f5
      https://github.com/llvm/llvm-project/commit/0cd7e8aa911dd4d0d6f4c43bef28fd853cf929f5
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2025-05-15 (Thu, 15 May 2025)

  Changed paths:
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp

  Log Message:
  -----------
  [MLIR][OpenMP] Assert on map translation functions, NFC (#137199)

This patch adds assertions to map-related MLIR to LLVM IR translation
functions and utils to explicitly document whether they are intended for
host or device compilation only.

Over time, map-related handling has increased in complexity. This is
compounded by the fact that some handling is device-specific and some is
host-specific. By explicitly asserting on these functions on the
expected compilation pass, the flow should become slighlty easier to
follow.



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