[PATCH] D114331: [OMPIRBuilder] Fix static schedule in worksharing-loop directive
Peixin Qiao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 21 00:23:00 PST 2021
peixin created this revision.
peixin added reviewers: kiranchandramohan, Meinersbur, ftynse, jdoerfert, clementval, Leporacanthicus, kiranktp, arnamoy10, bryanpkc, Chuanfeng.
peixin added projects: LLVM, MLIR.
Herald added subscribers: sdasgup3, wenzhicui, wrengr, Chia-hungDuan, dcaballe, cota, teijeong, rdzhabarov, tatianashp, msifontes, jurahul, Kayjukh, grosul1, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, antiagainst, shauheen, rriddle, mehdi_amini, hiraditya.
peixin requested review of this revision.
Herald added subscribers: llvm-commits, sstefan1, stephenneuendorffer, nicolasvasilache.
If no chunk_size is specified, OMPScheduleType for kmpc_for_static_init
call is StaticChunked and the chunk size is set to 1. If chunk_size is
specified, OMPScheduleType for kmpc_for_static_init call is Static. Also
fix lowering to LLVM IR for schdule clause in worksharing-loop directive.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D114331
Files:
llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
mlir/test/Target/LLVMIR/openmp-llvm.mlir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114331.388741.patch
Type: text/x-patch
Size: 4100 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211121/c1a2890b/attachment.bin>
More information about the llvm-commits
mailing list