[PATCH] D136111: [OpenMP] Make device functions have hidden visibility

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 17 14:29:00 PDT 2022


jhuber6 updated this revision to Diff 468328.
jhuber6 added a comment.

We can't make every function hidden for non-GPU offloading. So we only apply it to the functions inside the `declare target` clause there.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136111/new/

https://reviews.llvm.org/D136111

Files:
  clang/lib/AST/Decl.cpp
  clang/test/OpenMP/nvptx_declare_target_var_ctor_dtor_codegen.cpp
  clang/test/OpenMP/nvptx_unsupported_type_codegen.cpp
  clang/test/OpenMP/target_attribute_convergent.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136111.468328.patch
Type: text/x-patch
Size: 4587 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221017/9b661013/attachment-0001.bin>


More information about the cfe-commits mailing list