[llvm-branch-commits] [llvm] [KeyInstr][SimplifyCFG] Remap atoms when folding br to common succ into pred (PR #133482)

Orlando Cazalet-Hyams via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri May 2 09:33:35 PDT 2025


================
@@ -0,0 +1,81 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt %s -S -passes=simplifycfg -bonus-inst-threshold=2 | FileCheck %s
+
+;; Block d gets folded into preds b and c. Check the cloned instructions get
----------------
OCHyams wrote:

I'm not sure where I got the diagram in the description from. I've added one that actually describes this multi-pred test.

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


More information about the llvm-branch-commits mailing list