[PATCH] D64359: [LOOPINFO] Add member function to retrieve loops in breadth-first order

Ettore Tiotto via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 9 09:51:23 PDT 2019


etiotto abandoned this revision.
etiotto added a comment.

I can use breadth_first from ADT/BreadthFirstIterator.h to collect the loops in breadth-first order. Arguably the getLoopsInPreorder()  member functions could also be removed in favor of using ADT/DepthFirstIterator.h (need to confirm whether that does a preorder traversal).


Repository:
  rL LLVM

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

https://reviews.llvm.org/D64359





More information about the llvm-commits mailing list