================
@@ -777,6 +783,8 @@ cir::FuncOp CIRGenFunction::generateCode(clang::GlobalDecl 
gd, cir::FuncOp fn,
 
     // Emit the standard function prologue.
     startFunction(gd, retTy, fn, funcType, args, loc, bodyRange.getBegin());
+    if (skipFunctionBody)
----------------
adams381 wrote:

Dropped skipFunctionBody. startFunction calls errorNYI for 
UsesFPIntrin/StrictFP; generateCode returns right after the prologue on the 
same predicate so we never emit the body for that function. TU-wide 
hasErrorOccurred() was what broke parallel.c; this stays per-function without a 
stmt flag. NYI test removed.

https://github.com/llvm/llvm-project/pull/198362
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to