[PATCH] D75024: [SCCIterator] Check if a SCC is a natural loop.

Stefanos Baziotis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 23 12:03:14 PST 2020


baziotis added a comment.

In D75024#1888366 <https://reviews.llvm.org/D75024#1888366>, @lebedev.ri wrote:

> I'm not sure this fits here, this is very specific to `GraphT=Function*`, since `LoopInfo::getLoopFor()` is only defined for (function) basic blocks.


Yes, that's a problem. Where else could it be placed?
Ideally, I would like to have something that does not depend on LoopInfo, but I don't. :/


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

https://reviews.llvm.org/D75024





More information about the llvm-commits mailing list