[PATCH] D74691: [Attributor] add some pattern to containsCycle

omar ahmed via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 23 04:29:42 PST 2020


omarahmed updated this revision to Diff 246101.
omarahmed added a comment.

[Attributor]Detect SCCs with unbounded cycles

1. Updating D74691 <https://reviews.llvm.org/D74691>: [Attributor] add some pattern to containsCycle #
2. Enter a brief description of the changes included in this update.
3. The first line is used as subject, next lines as comment. #
4. If you intended to create a new revision, use:
5. $ arc diff --create

This patch implements containsUnboundedCycle which checks for unbounded cycle
which is either a loop that does not have a maximal trip count or any other
cycle.

It contains some fixes for willreturn tests and addition of bounded
and unbounded loop tests.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74691/new/

https://reviews.llvm.org/D74691

Files:
  llvm/lib/Transforms/IPO/Attributor.cpp
  llvm/test/Transforms/Attributor/read_write_returned_arguments_scc.ll
  llvm/test/Transforms/Attributor/willreturn.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74691.246101.patch
Type: text/x-patch
Size: 13990 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200223/21532f6e/attachment.bin>


More information about the llvm-commits mailing list