[all-commits] [llvm/llvm-project] 862d82: [CodeGen] Don't renumber invalid domtree (#102427)

Alexis Engelke via All-commits all-commits at lists.llvm.org
Wed Aug 7 23:54:07 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 862d822d83a5422e6cc966c3244e766dee6d45ba
      https://github.com/llvm/llvm-project/commit/862d822d83a5422e6cc966c3244e766dee6d45ba
  Author: Alexis Engelke <engelke at in.tum.de>
  Date:   2024-08-08 (Thu, 08 Aug 2024)

  Changed paths:
    M llvm/lib/CodeGen/MachineBlockPlacement.cpp

  Log Message:
  -----------
  [CodeGen] Don't renumber invalid domtree (#102427)

Machine block placement might remove nodes from the function but does
not update the dominator tree accordingly. Instead of renumbering (which
might crash due to accessing removed blocks), set the domtree to null to
make clear that it is invalid at this point.

Fixup of #102107.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list