[llvm-branch-commits] [llvm] [FixIrreducible] Use CycleInfo instead of a custom SCC traversal (PR #101386)

Sameer Sahasrabuddhe via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Aug 21 03:00:32 PDT 2024


================
@@ -189,6 +195,21 @@ template <typename ContextT> class GenericCycle {
   //@{
   using const_entry_iterator =
       typename SmallVectorImpl<BlockT *>::const_iterator;
+  const_entry_iterator entry_begin() const {
+    return const_entry_iterator{Entries.begin()};
----------------
ssahasra wrote:

Fixed.

https://github.com/llvm/llvm-project/pull/101386


More information about the llvm-branch-commits mailing list