[Mlir-commits] [clang] [llvm] [mlir] [OMPIRBuilder] - Handle dependencies in `createTarget` (PR #93977)
Pranav Bhandarkar
llvmlistbot at llvm.org
Tue Jul 2 06:45:29 PDT 2024
================
@@ -3088,10 +3102,13 @@ convertOmpTarget(Operation &opInst, llvm::IRBuilderBase &builder,
if (!mapData.IsDeclareTarget[i] && !mapData.IsAMember[i])
kernelInput.push_back(mapData.OriginalValue[i]);
}
+ SmallVector<llvm::OpenMPIRBuilder::DependData> dds;
+ buildDependData(targetOp.getOperation(), moduleTranslation, dds);
----------------
bhandarkar-pranav wrote:
@skatrak - Apologies for missing your previous comment about moving the empty depends list check into `buildDependData`. I have done that now in this iteration of the PR.
https://github.com/llvm/llvm-project/pull/93977
More information about the Mlir-commits
mailing list