[PATCH] D134046: [OpenMP] Add support for order(concurrent) to OMPIRBuilder for SIMD directive
Dominik Adamski via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 16 07:10:00 PDT 2022
domada created this revision.
domada added reviewers: kiranchandramohan, kiranktp.
domada added a project: OpenMP.
Herald added subscribers: bzcheeseman, awarzynski, sdasgup3, wenzhicui, wrengr, cota, teijeong, rdzhabarov, tatianashp, msifontes, jurahul, Kayjukh, grosul1, Joonsoo, liufengdb, aartbik, mgester, arpith-jacob, antiagainst, shauheen, rriddle, mehdi_amini, guansong, hiraditya, yaxunl.
Herald added a reviewer: ftynse.
Herald added a project: All.
domada requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: nicolasvasilache.
Herald added subscribers: llvm-commits, cfe-commits, pcwang-thead, sstefan1, stephenneuendorffer, nicolasvasilache.
Herald added a reviewer: dcaballe.
Herald added projects: clang, MLIR, LLVM.
If `order(concurrent)` clause is specified, then the iterations of SIMD loop can be executed concurrently.
This patch adds support for LLVM IR codegen via OMPIRBuilder for SIMD loop with `order(concurrent)` clause. The functionality added to OMPIRBuilder is similar to the functionality implemented in `CodeGenFunction::EmitOMPSimdInit`.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D134046
Files:
clang/lib/CodeGen/CGStmtOpenMP.cpp
clang/test/OpenMP/irbuilder_safelen_order_concurrent.cpp
llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134046.460737.patch
Type: text/x-patch
Size: 17290 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220916/5f2cb558/attachment-0001.bin>
More information about the cfe-commits
mailing list