[llvm-branch-commits] [flang] [llvm] [mlir] [MLIR][OpenMP] Add OpenMPToLLVMIRTranslation support for is_device_ptr (PR #169367)
Akash Banerjee via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Nov 25 10:15:00 PST 2025
================
@@ -3996,6 +3993,8 @@ static void collectMapDataFromMapOperands(
llvm::Value *origValue = moduleTranslation.lookupValue(offloadPtr);
auto mapType = convertClauseMapFlags(mapOp.getMapType());
auto mapTypeAlways = llvm::omp::OpenMPOffloadMappingFlags::OMP_MAP_ALWAYS;
+ bool isDevicePtr = (mapOp.getMapType() & omp::ClauseMapFlags::storage) ==
+ omp::ClauseMapFlags::storage;
----------------
TIFitis wrote:
Done.
https://github.com/llvm/llvm-project/pull/169367
More information about the llvm-branch-commits
mailing list