================ @@ -107,6 +107,12 @@ template <typename ContextT> class GenericCycle { return is_contained(Entries, Block); } + /// \brief Replace all entries with \p Block as single entry. + void setSingleEntry(BlockT *Block) { + Entries.clear(); + Entries.push_back(Block); ---------------- ssahasra wrote:
Fixed. https://github.com/llvm/llvm-project/pull/101386 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits