[all-commits] [llvm/llvm-project] 05bcb5: [VPlan][NFC] Number blocks (#212023)

Alexis Engelke via All-commits all-commits at lists.llvm.org
Sat Jul 25 07:40:45 PDT 2026


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanCFG.h

  Log Message:
  -----------
  [VPlan][NFC] Number blocks (#212023)

Assign numbers to blocks for more efficient dominator tree construction.
The number is identical to the index in CreatedBlocks of the VPlan.

This removes the last user of unnumbered graphs for dominator trees.

Note that the compile-time change here is practically unmeasurable. The
motivation really is to remove the non-number code path from the
dominator tree.



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