[all-commits] [llvm/llvm-project] f275d2: [DFAJumpThreading] Don't insert existing edge to D...

Usman Nadeem via All-commits all-commits at lists.llvm.org
Tue Oct 14 09:53:00 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f275d2b05777edf00779963e2519d231afb33b4a
      https://github.com/llvm/llvm-project/commit/f275d2b05777edf00779963e2519d231afb33b4a
  Author: Usman Nadeem <mnadeem at quicinc.com>
  Date:   2025-10-14 (Tue, 14 Oct 2025)

  Changed paths:
    M llvm/lib/Transforms/Scalar/DFAJumpThreading.cpp
    M llvm/test/Transforms/DFAJumpThreading/dfa-jump-threading-transform.ll

  Log Message:
  -----------
  [DFAJumpThreading] Don't insert existing edge to DomTree while unfolding (#163296)

The edge `StartBlock -> EndBlock` already exists before unfolding.

The instructions for `applyUpdates()` say that you are supposed not
to insert an existing edge.

Fixes issues reported by @mikaelholmen in
https://github.com/llvm/llvm-project/pull/162802



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