[PATCH] D134019: [MachineCycle][NFC]add a cache from block and top level cycle mapping

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 16 01:00:54 PDT 2022


nikic added inline comments.


================
Comment at: llvm/include/llvm/ADT/GenericCycleImpl.h:183
+    if (It.second == Child)
+      It.second = NewParent;
 }
----------------
This assumes the new parent is a top level cycle. Is this guaranteed?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134019



More information about the llvm-commits mailing list