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

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Tue May 6 08:52:45 PDT 2025


  Branch: refs/heads/users/OCHyams/ki-llvm-simplifycfg2
  Home:   https://github.com/llvm/llvm-project
  Commit: a965e6e081e344b6ad54eb92ac22f77c49e14c1b
      https://github.com/llvm/llvm-project/commit/a965e6e081e344b6ad54eb92ac22f77c49e14c1b
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-06 (Tue, 06 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

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`.



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