[llvm] [BOLT] Add structure of CDSplit to SplitFunctions (PR #73430)

Maksim Panchenko via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 11:43:50 PST 2023


================
@@ -430,6 +430,8 @@ void BinaryFunctionPassManager::runAllPasses(BinaryContext &BC) {
   Manager.registerPass(
       std::make_unique<ReorderFunctions>(PrintReorderedFunctions));
 
+  Manager.registerPass(std::make_unique<SplitFunctions>(PrintSplit));
----------------
maksfb wrote:

Please add a brief comment why we need another pass of SplitFunctions here too.

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


More information about the llvm-commits mailing list