[llvm-branch-commits] [flang] [llvm] [mlir] [OpenMP][MLIR] Modify OpenMP Dialect lowering to support attach mapping (PR #179023)
Pranav Bhandarkar via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Apr 2 13:48:20 PDT 2026
================
@@ -4587,10 +4601,16 @@ static void collectMapDataFromMapOperands(
// Process MapOperands
for (Value mapValue : mapVars) {
auto mapOp = cast<omp::MapInfoOp>(mapValue.getDefiningOp());
- Value offloadPtr =
- mapOp.getVarPtrPtr() ? mapOp.getVarPtrPtr() : mapOp.getVarPtr();
+ bool isRefPtrOrPteeMapWithAttach =
+ checkRefPtrOrPteeMapWithAttach(mapOp.getMapType());
----------------
bhandarkar-pranav wrote:
Is it worth making this a member of `MapOp` itself?
https://github.com/llvm/llvm-project/pull/179023
More information about the llvm-branch-commits
mailing list