[llvm-branch-commits] [clang] [llvm] [mlir] [MLIR][OpenMP] Add LLVM translation support for OpenMP UserDefinedMappers (PR #124746)
Akash Banerjee via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Jan 30 09:03:01 PST 2025
================
@@ -2709,13 +2709,23 @@ getRefPtrIfDeclareTarget(mlir::Value value,
}
namespace {
+// Append customMappers information to existing MapInfosTy
+struct MapInfosTy : llvm::OpenMPIRBuilder::MapInfosTy {
+ SmallVector<Operation *, 4> Mappers;
----------------
TIFitis wrote:
Technically it might be possible but probably not a good idea. `MapInfoData` is mean't to be used when coalescing the mapping data from the various map and bound ops.
`llvm::OpenMPIRBuilder::MapInfosTy` is used across MLIR, Clang and OMPIRBuilder for target codegen.
https://github.com/llvm/llvm-project/pull/124746
More information about the llvm-branch-commits
mailing list