[llvm] [FixIrreducible][UnifyLoopExits] Fix callbr multiedge splitting (PR #207598)

Robert Imschweiler via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 10 06:22:48 PDT 2026


================
@@ -279,6 +279,7 @@ LLVM_ABI BasicBlock *SplitEdge(BasicBlock *From, BasicBlock *To,
 /// \param Succ           original successor block
 /// \param SuccIdx        index of the original successor in the callbr
 ///                       instruction
+/// \param CallBrTarget   optional \p BasicBlock to reuse for the split
----------------
ro-i wrote:

Let's keep it at what you have now

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


More information about the llvm-commits mailing list