[all-commits] [llvm/llvm-project] 6ea52b: [MLIR][OpenMP] Assert on map translation functions...
Sergio Afonso via All-commits
all-commits at lists.llvm.org
Tue Apr 29 07:45:59 PDT 2025
Branch: refs/heads/users/skatrak/map-rework-02-mark-host-device
Home: https://github.com/llvm/llvm-project
Commit: 6ea52bf1986b5bba68d4d797590156daa38a4269
https://github.com/llvm/llvm-project/commit/6ea52bf1986b5bba68d4d797590156daa38a4269
Author: Sergio Afonso <safonsof at amd.com>
Date: 2025-04-29 (Tue, 29 Apr 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