[PATCH] D140155: [OpenMP] Allow host call to nohost function with host variant

Gheorghe-Teodor Bercea via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 15 12:41:51 PST 2022


doru1004 created this revision.
doru1004 added reviewers: carlo.bertolli, ronl, gregrodgers, jdoerfert, jhuber6, ABataev.
doru1004 added a project: OpenMP.
Herald added subscribers: guansong, yaxunl.
Herald added a project: All.
doru1004 requested review of this revision.
Herald added subscribers: cfe-commits, sstefan1.
Herald added a project: clang.

In OpenMP 5.2 when a nohost function is called from the host, the host variant of that function is called if one is declared.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D140155

Files:
  clang/lib/Sema/SemaOpenMP.cpp
  clang/test/OpenMP/declare_target_messages.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140155.483303.patch
Type: text/x-patch
Size: 15507 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221215/86affa66/attachment-0001.bin>


More information about the cfe-commits mailing list