[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 16:16:05 PDT 2020
hamax97 added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/OpenMPOpt.cpp:719
+ Instruction *CurrentI = RuntimeCall;
+ bool IsWorthIt = false;
+ while ((CurrentI = CurrentI->getNextNode())) {
----------------
jdoerfert wrote:
> Can't you just check if CurrentI is RuntimeCall?
I think it's never RuntimeCall. It starts with the instruction after RuntimeCall.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86155/new/
https://reviews.llvm.org/D86155
More information about the llvm-commits
mailing list