[PATCH] D139334: [IRSim] Reduce IROutliner Compile time by reducing the number of time the CodeExtractorCache is rebuilt.

Andrew Litteken via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 7 08:03:58 PST 2022


AndrewLitteken added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/IROutliner.cpp:2838
     for (OutlinableRegion *OS : CurrentGroup.Regions) {
+      Function *OrigF = OS->Candidate->getStartBB()->getParent();
+      DenseMap<Function *, CodeExtractorAnalysisCache *>::iterator CEACIt =
----------------
paquette wrote:
> For a follow-up patch: maybe `Candidate`s should have a `getFunction` function?
It turns out that they do, and I just forgot to use it.


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

https://reviews.llvm.org/D139334



More information about the llvm-commits mailing list