Skip to content

Commit cfd0c4f

Browse files
committed
[OpenMP][MLIR] Fix code bug from #101707
1 parent ddcc601 commit cfd0c4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2451,7 +2451,7 @@ static void collectMapDataFromMapOperands(
24512451
mapData.Names.push_back(LLVM::createMappingInformation(
24522452
mapOp.getLoc(), *moduleTranslation.getOpenMPBuilder()));
24532453
mapData.DevicePointers.push_back(devInfoTy);
2454-
mapData.IsAMapping.push_back(true);
2454+
mapData.IsAMapping.push_back(false);
24552455
mapData.IsAMember.push_back(checkIsAMember(useDevOperands, mapOp));
24562456
}
24572457
}

0 commit comments

Comments
 (0)