[Openmp-commits] [PATCH] D95971: [OpenMP][NVPTX] Take functions in `deviceRTLs` as `convergent`

Shilei Tian via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Feb 3 13:31:20 PST 2021


tianshilei1992 created this revision.
tianshilei1992 added reviewers: jdoerfert, JonChesterfield, ye-luo.
Herald added subscribers: guansong, yaxunl.
Herald added a reviewer: jansvoboda11.
tianshilei1992 requested review of this revision.
Herald added subscribers: openmp-commits, cfe-commits, sstefan1.
Herald added projects: clang, OpenMP.

OpenMP device compiler (similar to other SPMD compilers) assumes that
functions are convergent by default to avoid invalid transformations, such as
the bug (https://bugs.llvm.org/show_bug.cgi?id=49021).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D95971

Files:
  clang/lib/Frontend/CompilerInvocation.cpp
  openmp/libomptarget/test/offloading/bug49021.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95971.321213.patch
Type: text/x-patch
Size: 3434 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210203/9511c617/attachment.bin>


More information about the Openmp-commits mailing list