[llvm-branch-commits] [llvm] [KeyInstr][JumpThreading] Remap atoms in blocks duplicated for threading (PR #133486)

Jeremy Morse via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Apr 11 13:10:40 PDT 2025


================
@@ -0,0 +1,68 @@
+; RUN: opt -S -passes=jump-threading,verify %s | FileCheck %s
+
+;; Modified from llvm/test/Transforms/JumpThreading/thread-two-bbs.ll
+;;
+;; JumpThreading duplicates bb.cond2 to thread through bb.file to bb.f2 or exit.
+;;
+;; Check the duplicated instructions get remapped atom groups.
+
+; CHECK: bb.cond2:
----------------
jmorse wrote:

CHECK-LABEL?

https://github.com/llvm/llvm-project/pull/133486


More information about the llvm-branch-commits mailing list