[PATCH] D86300: [OpenMPOpt][SplitMemTransfer] Getting values stored in offload arrays

Hamilton Tobon-Mosquera via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 20 09:02:09 PDT 2020


hamax97 created this revision.
hamax97 added reviewers: jdoerfert, sstefan1.
hamax97 added a project: OpenMP.
Herald added subscribers: llvm-commits, guansong, hiraditya, yaxunl.
Herald added a project: LLVM.
hamax97 requested review of this revision.

`getValuesInOffloadArrays` goes through the offload arrays in `__tgt_target_data_begin_mapper` getting the values stored in them before the call is issued.

  call void @__tgt_target_data_begin_mapper(arg0, arg1,
      i8** %offload_baseptrs, i8** %offload_ptrs, i64* %offload_sizes,
  ...)

PD: I tried hard to keep it small.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86300

Files:
  llvm/lib/Transforms/IPO/OpenMPOpt.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86300.286834.patch
Type: text/x-patch
Size: 6714 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200820/12ce739a/attachment.bin>


More information about the llvm-commits mailing list