[llvm] [CycleInfo] Index using block numbers instead of pointers (PR #187500)

Robert Imschweiler via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 19 06:39:05 PDT 2026


================
@@ -313,13 +313,30 @@ void GenericCycleInfo<ContextT>::moveTopLevelCycleToNewParent(CycleT *NewParent,
   Child->clearCache();
 }
 
+template <typename ContextT>
+void GenericCycleInfo<ContextT>::verifyBlockNumberEpoch(
+    const FunctionT *Fn) const {
+  assert(BlockNumberEpoch ==
----------------
ro-i wrote:

where/when is this updated?

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


More information about the llvm-commits mailing list