================
@@ -1482,6 +1477,11 @@ void CodeGenFunction::GenerateCode(GlobalDecl GD, 
llvm::Function *Fn,
   } else
     llvm_unreachable("no definition for emitted function");
 
+  // This is checked after emitting the function body so we know if there
+  // are any permitted infinite loops.
----------------
efriedma-quic wrote:

Fundamentally, I'm not sure there's any reason we need to do this after 
emitting the function body.  When the comment was written, it was referring to 
the FnIsMustProgress bit in CodeGenFunction, but that was removed.

https://github.com/llvm/llvm-project/pull/71452
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to