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

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 16 17:06:59 PST 2020


jdoerfert added a comment.

In D74691#1878449 <https://reviews.llvm.org/D74691#1878449>, @baziotis wrote:

> Edit: Alternatively, we could loop through the SCCs and check if any of them is not a loop but I didn't find an easy way to do that.


@omarahmed I think @baziotis has a really good point here. Let's do it this way :)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74691





More information about the llvm-commits mailing list