[clang] [KeyInstr][Clang] Ret atom (PR #134652)

Orlando Cazalet-Hyams via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 3 07:39:28 PDT 2025


================
@@ -1118,6 +1118,8 @@ void CodeGenFunction::EmitBranchThroughCleanup(JumpDest Dest) {
 
   // Create the branch.
   llvm::BranchInst *BI = Builder.CreateBr(Dest.getBlock());
+  // This is the primary instruction for this atom, acting in place of a ret.
----------------
OCHyams wrote:

The code below has since been added in another patch that's already landed (without the comment) - rebased to remove from diff

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


More information about the cfe-commits mailing list