[PATCH] D126455: [FuncSpec] Make the Function Specializer part of the IPSCCP pass.

Momchil Velikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 31 09:39:33 PDT 2022


chill added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/SCCP.cpp:43
         &DT, FAM.getCachedResult<PostDominatorTreeAnalysis>(F),
-        nullptr};
+        &FAM.getResult<LoopAnalysis>(F)};
   };
----------------
This part was added for the FunctionSpecialization, if func spec is disabled maybe not pass along the LoopAnalysis?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126455



More information about the llvm-commits mailing list