[PATCH] D86155: [OpenMPOpt][SplitMemTransfer] Moving the "wait" down

Hamilton Tobon-Mosquera via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 18 10:33:40 PDT 2020


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

`canBeMovedDownwards` checks if the "wait" counterpart of the runtime call 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.


https://reviews.llvm.org/D86155

Files:
  llvm/lib/Transforms/IPO/OpenMPOpt.cpp
  llvm/test/Transforms/OpenMP/hide_mem_transfer_latency.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86155.286340.patch
Type: text/x-patch
Size: 7415 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200818/a9a44912/attachment.bin>


More information about the llvm-commits mailing list