[all-commits] [llvm/llvm-project] 6eb0f5: [ControlFlowHub] Fix duplicate DomTree updates whe...

Shilei Tian via All-commits all-commits at lists.llvm.org
Sat Jan 17 19:50:11 PST 2026


  Branch: refs/heads/users/shiltian/fix-crash-in-fix-irreducible
  Home:   https://github.com/llvm/llvm-project
  Commit: 6eb0f5a3bc50810360a350039b34e813f08387dc
      https://github.com/llvm/llvm-project/commit/6eb0f5a3bc50810360a350039b34e813f08387dc
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2026-01-17 (Sat, 17 Jan 2026)

  Changed paths:
    M llvm/lib/Transforms/Utils/ControlFlowUtils.cpp
    A llvm/test/Transforms/Util/control-flow-hub-finalize-same-succ-crash.ll

  Log Message:
  -----------
  [ControlFlowHub] Fix duplicate DomTree updates when branch successors are identical

When a conditional branch has both successors pointing to the same block (e.g., `br i1 %cond, label %bb, label %bb`), `ControlFlowHub::finalize` generates duplicate `Delete` updates for the same CFG edge. This can cause assertion in `fix-irreducible` pass.

Fixes #176553.



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