[all-commits] [llvm/llvm-project] a27337: [DomTreeConstr][NFC] Resize NodeInfos once on cons...

Alexis Engelke via All-commits all-commits at lists.llvm.org
Sat Jul 25 06:48:35 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a273377a509a95fd757f0e1c6a81358aceefa460
      https://github.com/llvm/llvm-project/commit/a273377a509a95fd757f0e1c6a81358aceefa460
  Author: Alexis Engelke <engelke at in.tum.de>
  Date:   2026-07-25 (Sat, 25 Jul 2026)

  Changed paths:
    M llvm/include/llvm/Support/GenericDomTreeConstruction.h
    M llvm/unittests/Support/GenericDomTreeTest.cpp

  Log Message:
  -----------
  [DomTreeConstr][NFC] Resize NodeInfos once on construction (#211998)

This avoids frequent size checks when accessing node infos. All numbered
graphs support getMaxNumber().

Also move away from BB->getParent() as preliminary work for numbering
VPlan blocks -- there, getParent() has a different meaning.



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