[llvm] [BranchFolding] Fold fallthroughs into conditional tailcalls if profitable (PR #140476)

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 14 07:43:17 PDT 2026


================
@@ -593,3 +593,104 @@ cleanup.thread:                                   ; preds = %cleanup.thread.loop
   %6 = phi i1 [ %cmp37, %5 ], [ %call34, %if.else28 ], [ false, %cleanup.thread.loopexit ]
   ret i1 %6
 }
+
----------------
mtrofin wrote:

can the output test the resulting profile info?

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


More information about the llvm-commits mailing list