[llvm-branch-commits] [llvm] [KeyInstr][JumpThreading] Remap atoms after threading (PR #133487)
Jeremy Morse via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Apr 11 13:27:07 PDT 2025
================
@@ -0,0 +1,78 @@
+; RUN: opt %s --passes=jump-threading -S -o - -S | FileCheck %s
+
+;; +-> T1 -+
+;; | v +-> T2
+;; Entry -+ Merge -+
+;; | ^ +-> F2
+;; +-> F1 -+
+;;
+;; Thread T1 -> T2 and F1 -> F2 through Merge.
+;;
+;; +-> T1
+;; |
+;; Entry -+
+;; |
+;; +-> F1
----------------
jmorse wrote:
Diagram should include T2 / F2, or is that deliberate?
https://github.com/llvm/llvm-project/pull/133487
More information about the llvm-branch-commits
mailing list