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

Sameer Sahasrabuddhe via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 6 19:21:29 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:

Thanks! Fixed in an intermediate patch.

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


More information about the llvm-commits mailing list