[llvm] [CodeGen] Use optimized domtree for MachineFunction (PR #102107)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 6 01:44:08 PDT 2024


================
@@ -393,12 +395,21 @@ bool BasicBlockSections::runOnMachineFunction(MachineFunction &MF) {
   auto R1 = handleBBSections(MF);
   // Handle basic block address map after basic block sections are finalized.
   auto R2 = handleBBAddrMap(MF);
+
+  // We renumer blocks, so update the dominator tree we want to preserve.
----------------
nikic wrote:

```suggestion
  // We renumber blocks, so update the dominator tree we want to preserve.
```

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


More information about the llvm-commits mailing list