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

Sergio Afonso via All-commits all-commits at lists.llvm.org
Thu May 15 03:46:59 PDT 2025


  Branch: refs/heads/users/skatrak/map-rework-02-mark-host-device
  Home:   https://github.com/llvm/llvm-project
  Commit: c6954b3120a87eef7d9cf86f18d4ef342b2e7b25
      https://github.com/llvm/llvm-project/commit/c6954b3120a87eef7d9cf86f18d4ef342b2e7b25
  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

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