[all-commits] [llvm/llvm-project] 8931ad: [OpenMPOpt][HideMemTransfersLatency] Get values st...

Hamilton Tobon Mosquera via All-commits all-commits at lists.llvm.org
Mon Aug 31 13:33:39 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8931add6170508704007f1a410993e6aec879c01
      https://github.com/llvm/llvm-project/commit/8931add6170508704007f1a410993e6aec879c01
  Author: Hamilton Tobon Mosquera <htobonmm7 at gmail.com>
  Date:   2020-08-31 (Mon, 31 Aug 2020)

  Changed paths:
    M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
    A llvm/test/Transforms/OpenMP/values_in_offload_arrays.ll

  Log Message:
  -----------
  [OpenMPOpt][HideMemTransfersLatency] Get values stored in offload arrays

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,
...)

Diferential Revision: https://reviews.llvm.org/D86300




More information about the All-commits mailing list