[PATCH] D136601: [OpenMP] [OMPIRBuilder] Create a new datatype to hold the unique target region info

Jan Sjödin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 24 07:34:24 PDT 2022


jsjodin created this revision.
jsjodin added reviewers: jdoerfert, ABataev, mikerice.
Herald added subscribers: mattd, asavonic, guansong, hiraditya, yaxunl.
Herald added a project: All.
jsjodin requested review of this revision.
Herald added subscribers: llvm-commits, sstefan1.
Herald added a project: LLVM.

This patch puts the individual target region information attributes into a struct so that the nested mappings are not needed and passing the information around is simplified.


https://reviews.llvm.org/D136601

Files:
  clang/lib/CodeGen/CGOpenMPRuntime.cpp
  clang/test/OpenMP/declare_target_codegen.cpp
  clang/test/OpenMP/nvptx_declare_target_var_ctor_dtor_codegen.cpp
  llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
  llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
  llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136601.470145.patch
Type: text/x-patch
Size: 23514 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221024/c8fb1e81/attachment-0001.bin>


More information about the llvm-commits mailing list