[all-commits] [llvm/llvm-project] bd2fa1: [OpenMPOpt][HideMemTransfersLatency] Moving the 'w...
Hamilton Tobon Mosquera via All-commits
all-commits at lists.llvm.org
Wed Aug 19 09:43:02 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: bd2fa1819b9dc1a863a4b5a8abc540598f56c8f2
https://github.com/llvm/llvm-project/commit/bd2fa1819b9dc1a863a4b5a8abc540598f56c8f2
Author: Hamilton Tobon Mosquera <htobonmm7 at gmail.com>
Date: 2020-08-19 (Wed, 19 Aug 2020)
Changed paths:
M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
M llvm/test/Transforms/OpenMP/hide_mem_transfer_latency.ll
Log Message:
-----------
[OpenMPOpt][HideMemTransfersLatency] Moving the 'wait' counterpart of __tgt_target_data_begin_mapper
canBeMovedDownwards checks if the "wait" counterpart of __tgt_target_data_begin_mapper can be moved downwards, returning a pointer to the instruction that might require/modify the data transferred, and returning null it the movement is not possible or not worth it. The function splitTargetDataBeginRTC receives that returned instruction and instead of moving the "wait" it creates it at that point.
Differential Revision: https://reviews.llvm.org/D86155
More information about the All-commits
mailing list