[all-commits] [llvm/llvm-project] 74c302: [KeyInstr][SimplifyCFG] Remap atoms after duplicat...

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Wed May 7 01:56:51 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 74c3025dd518aae01db5fbbd06b81c8ad272f959
      https://github.com/llvm/llvm-project/commit/74c3025dd518aae01db5fbbd06b81c8ad272f959
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-07 (Wed, 07 May 2025)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    A llvm/test/DebugInfo/KeyInstructions/Generic/simplifycfg-thread-phi.ll

  Log Message:
  -----------
  [KeyInstr][SimplifyCFG] Remap atoms after duplication for threading (#133484)

Given the same branch condition in `a` and `c` SimplifyCFG converts:

        +> b -+
        |     v
    --> a --> c --> e -->
              |     ^
              +> d -+
into:

        +--> bcd ---+
        |           v
    --> a --> c --> e -->

Remap source atoms on instructions duplicated from `c` into `bcd`.

RFC:
https://discourse.llvm.org/t/rfc-improving-is-stmt-placement-for-better-interactive-debugging/82668



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