[Openmp-commits] [PATCH] D114866: [OpenMP][FIX] SPMDzation guarding needs to account for all reaching kernels

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Dec 1 05:33:34 PST 2021


jdoerfert created this revision.
jdoerfert added reviewers: jhuber6, tianshilei1992, ggeorgakoudis, JonChesterfield.
Herald added subscribers: ormris, guansong, bollu, hiraditya, yaxunl.
jdoerfert requested review of this revision.
Herald added a reviewer: sstefan1.
Herald added subscribers: llvm-commits, sstefan1.
Herald added a reviewer: baziotis.
Herald added a project: LLVM.

If two reaching kernels disagree on the execution mode we cannot guard a
function right now. Ensure we do not as we otherwise will cause a
deadlock.


https://reviews.llvm.org/D114866

Files:
  llvm/lib/Transforms/IPO/OpenMPOpt.cpp
  llvm/test/Transforms/OpenMP/spmdization_guarding_two_reaching_kernels.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114866.390988.patch
Type: text/x-patch
Size: 18514 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20211201/1a0e8747/attachment-0001.bin>


More information about the Openmp-commits mailing list