[PATCH] D31035: [GVNHoist] Call isGuaranteedToTransferExecutionToSuccessor on each instruction

Aditya Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 17 13:46:13 PDT 2017


hiraditya updated this revision to Diff 92191.
hiraditya added a comment.

Mark those basic blocks which does not guarantee progress as barriers and use them subsequently while checking for availability during hoisting.


https://reviews.llvm.org/D31035

Files:
  llvm/lib/Transforms/Scalar/GVNHoist.cpp
  llvm/test/Transforms/GVNHoist/hoist-very-busy.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31035.92191.patch
Type: text/x-patch
Size: 6556 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170317/dd9009d1/attachment.bin>


More information about the llvm-commits mailing list