We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ac059c commit d5a3c4dCopy full SHA for d5a3c4d
mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
@@ -2230,7 +2230,7 @@ void collectMapDataFromMapOperands(
2230
auto findMapInfo = [&mapData](llvm::Value *val, unsigned &index) {
2231
index = 0;
2232
for (llvm::Value *basePtr : mapData.OriginalValue) {
2233
- if (basePtr == val)
+ if (basePtr == val && !mapData.IsAMember[index])
2234
return true;
2235
index++;
2236
}
0 commit comments