skc7 wrote:

Hi @kevinsala 

emitTargetCall in ompIRBuilder.cpp is populating the TargetKernelArgs, which 
contain your newly added DynCGroupMemFallback and DynCGGroupMem. These could be 
given as input arguments to emitTargetCall. 

OpenMPIRBuilder::createTarget inturn calls emitTargetCall. So, would be better 
to add DynCGroupMemFallback and DynCGGroupMem to createTarget. 

OpenMPToLLVMIRTranslation uses OpenMPIRBuilder::createTarget which can be used 
by #153562 for populating the dynGroup size and fallback modifiers from the 
omp.dyn_groupprivate mlir clause.



https://github.com/llvm/llvm-project/pull/152830
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to