[PATCH] D91556: Add capturing of parameters to pass to omp::parallel
Lubomir Litchev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 11 12:53:08 PST 2020
llitchev updated this revision to Diff 311301.
llitchev added a comment.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
Implemented the closure approach in the OMPIRBuilder only.
The implementation is fully encapsulated in the OMPIRBuilder only (no changes outside of this file).
It also addresses the issue/limitation of the current implementation with having more than 15 upward defined Values, passed to the parallel region as varargs.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91556/new/
https://reviews.llvm.org/D91556
Files:
llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
mlir/lib/Conversion/OpenMPToLLVM/OpenMPToLLVM.cpp
mlir/test/Conversion/OpenMPToLLVM/convert-to-llvmir.mlir
mlir/test/Conversion/OpenMPToLLVM/openmp_float-parallel_param.mlir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91556.311301.patch
Type: text/x-patch
Size: 14047 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201211/54808520/attachment-0001.bin>
More information about the llvm-commits
mailing list