[Mlir-commits] [mlir] [MLIR][OpenMP] Add OMP Declare Mapper MLIR Op definition (PR #117045)
Akash Banerjee
llvmlistbot at llvm.org
Fri Nov 22 04:05:36 PST 2024
TIFitis wrote:
> I think it will be useful to have a bit more explanation on how the `omp.declare_mapper` operation is going to be used. Where will the declaration be effective? Is there a subsequent pass that will implement the mapping implied by the `omp.declare_mapper`?
I am working on subsequent PRs to update the mapClauseOp and FIR lowering to support declare mapper. The omp.declare_mapper symbol will be used there to identify the mapper.
The omp.declare_mapper operation itself will be used in the OpenMPToLLVMIRTranslation along with OMPIRBuilder to enact the mapping rules defined in it. I have the OMPIRBuilder work up for review already #110001. I will add another patch for OpenMPToLLVMIRTranslation soon. With that we should have all the work in place for supporting OMP Declare Mapper.
https://github.com/llvm/llvm-project/pull/117045
More information about the Mlir-commits
mailing list