[PATCH] D85368: [llvm][CodeGen] Machine Function Splitter

Sriraman Tallam via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 6 20:21:05 PDT 2020


tmsriram added inline comments.


================
Comment at: llvm/lib/CodeGen/MachineFunctionSplitter.cpp:77
+
+  MF.RenumberBlocks();
+  MF.setBBSectionsType(BasicBlockSection::Preset);
----------------
hiraditya wrote:
> Do we need to renumber?
Renumbering makes the sorting easy.  The sorting will preserve the basic block order for the blocks that are not split.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D85368



More information about the llvm-commits mailing list