[clang] [KeyInstr][Clang] Ret atom (PR #134652)
Jeremy Morse via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 3 04:57: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.
----------------
jmorse wrote:
I think in isolation this comment will be hard to understand, particularly relating it to a `ret`. Perhaps "this atom" -> "the source atom leaving this scope"?
https://github.com/llvm/llvm-project/pull/134652
More information about the cfe-commits
mailing list